diff options
Diffstat (limited to 'solenv/gbuild/platform/android.mk')
-rw-r--r-- | solenv/gbuild/platform/android.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/android.mk b/solenv/gbuild/platform/android.mk index 03f85ec49712..ba5110937740 100644 --- a/solenv/gbuild/platform/android.mk +++ b/solenv/gbuild/platform/android.mk @@ -31,11 +31,14 @@ #please make generic modifications to unxgcc.mk or linux.mk gb_CPUDEFS += -DARM32 gb_COMPILERDEFAULTOPTFLAGS := -Os -gb_CXXFLAGS += -fno-omit-frame-pointer -gb_CFLAGS += -fno-omit-frame-pointer include $(GBUILDDIR)/platform/unxgcc.mk +# See <ndk>/docs/STANDALONE-TOOLCHAIN.html +gb_LinkTarget_CFLAGS += -march=armv7-a -mfloat-abi=softfp -mthumb -mfpu=neon -fno-omit-frame-pointer +gb_LinkTarget_CXXFLAGS += -march=armv7-a -mfloat-abi=softfp -mthumb -mfpu=neon -fno-omit-frame-pointer +gb_LinkTarget_LDFLAGS += -Wl,--fix-cortex-a8 + # No unit testing can be run gb_CppunitTest_CPPTESTPRECOMMAND := : |