[Android] Explain NOTHUMB

Rafaël Carré git at videolan.org
Thu Aug 9 16:02:14 CEST 2012


android | branch: master | Rafaël Carré <funman at videolan.org> | Thu Aug  9 16:02:01 2012 +0200| [ab77b2b1d443f1eaac74ee0ae0d09d72a3bf281d] | committer: Rafaël Carré

Explain NOTHUMB

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=ab77b2b1d443f1eaac74ee0ae0d09d72a3bf281d
---

 compile.sh |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/compile.sh b/compile.sh
index b9b5e25..fc01a26 100755
--- a/compile.sh
+++ b/compile.sh
@@ -176,6 +176,8 @@ cd contrib/android
 
 # TODO: mpeg2, theora
 
+# Some libraries have arm assembly which won't build in thumb mode
+# We append -marm to the CFLAGS of these libs to disable thumb mode
 [ ${ANDROID_ABI} = "armeabi-v7a" ] && echo "NOTHUMB := -marm" >> config.mak
 
 # Release or not?



More information about the Android mailing list