From a0d1d74e118a4dab9206ed907e516677bb1cdb57 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Wed, 8 Jan 2014 09:57:01 +0100 Subject: Add -fdata-sections for Android. Change-Id: Id76fa23c0203028c52fb63f5cbc80ac12c4e20f2 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f41c691272ae..65fb0e86d410 100644 --- a/configure.ac +++ b/configure.ac @@ -336,7 +336,7 @@ if test -n "$with_android_ndk"; then ANDROID_APP_ABI=x86 ANDROIDCFLAGS="-march=atom" fi - ANDROIDCFLAGS="$ANDROIDCFLAGS -ffunction-sections" + ANDROIDCFLAGS="$ANDROIDCFLAGS -ffunction-sections -fdata-sections" ANDROIDCFLAGS="$ANDROIDCFLAGS -L$ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/${ANDROID_NDK_TOOLCHAIN_VERSION_SUBDIR}libs/$ANDROID_APP_ABI" ANDROIDCFLAGS="$ANDROIDCFLAGS --sysroot $ANDROID_NDK_HOME/platforms/android-9/arch-$android_cpu" ANDROIDCFLAGS="$ANDROIDCFLAGS -Wl,--fix-cortex-a8" -- cgit