Index: SConstruct |
=================================================================== |
--- SConstruct (revision 4401) |
+++ SConstruct (working copy) |
@@ -52,9 +52,10 @@ |
GCC_EXTRA_CCFLAGS = [] |
GCC_DTOA_EXTRA_CCFLAGS = [] |
-ANDROID_FLAGS = ['-march=armv5te', |
- '-mtune=xscale', |
- '-msoft-float', |
+ANDROID_FLAGS = ['-march=armv7-a', |
+ '-mtune=cortex-a8', |
+ '-mfloat-abi=softfp', |
+ '-mfpu=vfp', |
'-fpic', |
'-mthumb-interwork', |
'-funwind-tables', |
@@ -69,6 +70,8 @@ |
'-fomit-frame-pointer', |
'-fno-strict-aliasing', |
'-finline-limit=64', |
+ '-DCAN_USE_VFP_INSTRUCTIONS=1', |
+ '-DCAN_USE_ARMV7_INSTRUCTIONS=1', |
'-MD'] |
ANDROID_INCLUDES = [ANDROID_TOP + '/bionic/libc/arch-arm/include', |