[Android] Support NDK r9

Rafaël Carré git at videolan.org
Fri Aug 9 13:42:25 CEST 2013


vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Fri Aug  9 13:41:34 2013 +0200| [0cbc0606c3e34ac96df27d0e86bb898b80ca0c93] | committer: Rafaël Carré

Support NDK r9

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=0cbc0606c3e34ac96df27d0e86bb898b80ca0c93
---

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

diff --git a/compile.sh b/compile.sh
index e3f4614..c815a3b 100755
--- a/compile.sh
+++ b/compile.sh
@@ -15,6 +15,10 @@ fi
 # try to detect NDK version
 REL=$(grep -o '^r[0-9]*.*' $ANDROID_NDK/RELEASE.TXT 2>/dev/null|cut -b2-)
 case "$REL" in
+    9?*)
+        GCCVER=4.8
+        CXXSTL="/"${GCCVER}
+    ;;
     8?*)
         # we don't use 4.4.3 because it doesn't handle threads correctly.
         # TODO : clang?



More information about the Android mailing list