summaryrefslogtreecommitdiff
path: root/README.cross
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-11-08 13:27:38 +0200
committerTor Lillqvist <tlillqvist@suse.com>2011-11-08 15:04:24 +0200
commit3265a628adc82d2b44df833f59ad700a8dfa4292 (patch)
tree08378ffe5f948f6d824477b3039c9a1c07b5f0d3 /README.cross
parentd448b59e4b808b2074cd733bb15ed55f851da5ed (diff)
Revert "Just put the Android ARM compiler options in the mk files"
Nah. Sure, doing it like that is sane if you consider only our own code. But it won't help in making sure these options are used when compiling the 3rd-party external libraries. For that having the options already in the CC and CXX environment variables works nicely, I think. People just need to look at the samples in README.cross. Perhaps we could add the options to CC and CXX in configure.in, though? Is that elegant or not, don't know... This reverts commit 3c4f7242a967d6a3cb9e5e3f88bfb2cc348cc3eb.
Diffstat (limited to 'README.cross')
-rw-r--r--README.cross4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.cross b/README.cross
index 6327ea884a9f..7e8c184de3ab 100644
--- a/README.cross
+++ b/README.cross
@@ -318,8 +318,8 @@ Windows will probably drive you insane.)
Here is my autogen.lastrun for Android:
SYSBASE=/home/tml/android-ndk-r6b/platforms/android-9/arch-arm
-CC=ccache /home/tml/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot /home/tml/android-ndk-r6b/platforms/android-9/arch-arm
-CXX=ccache /home/tml/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ --sysroot /home/tml/android-ndk-r6b/platforms/android-9/arch-arm -I /home/tml/android-ndk-r6b/sources/cxx-stl/gnu-libstdc++/include -I/home/tml/android-ndk-r6b/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include -L/home/tml/android-ndk-r6b/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a -fexceptions -frtti
+CC=ccache /home/tml/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -march=armv7-a -mfloat-abi=softfp -mthumb -mfpu=neon --sysroot /home/tml/android-ndk-r6b/platforms/android-9/arch-arm
+CXX=ccache /home/tml/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ -march=armv7-a -mfloat-abi=softfp -mthumb -mfpu=neon --sysroot /home/tml/android-ndk-r6b/platforms/android-9/arch-arm -I /home/tml/android-ndk-r6b/sources/cxx-stl/gnu-libstdc++/include -I/home/tml/android-ndk-r6b/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include -L/home/tml/android-ndk-r6b/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a -fexceptions -frtti
AR=/home/tml/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-ar
NM=/home/tml/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-nm
OBJDUMP=/home/tml/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-objdump