[Libreoffice-commits] core.git: configure.ac

Matúš Kukan matus.kukan at collabora.com
Sat Jan 11 09:37:51 PST 2014


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a0d1d74e118a4dab9206ed907e516677bb1cdb57
Author: Matúš Kukan <matus.kukan at collabora.com>
Date:   Wed Jan 8 09:57:01 2014 +0100

    Add -fdata-sections for Android.
    
    Change-Id: Id76fa23c0203028c52fb63f5cbc80ac12c4e20f2

diff --git a/configure.ac b/configure.ac
index f41c691..65fb0e8 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"


More information about the Libreoffice-commits mailing list