[Android] Support NDK r9

Rafaël Carré git at videolan.org
Tue Sep 10 01:09:05 CEST 2013


vlc-ports/android | branch: 0.1.x-bugfix | Rafaël Carré <funman at videolan.org> | Fri Aug  9 13:41:34 2013 +0200| [b2a822fccc5ebdec6145c59c60bae1eee4af2b67] | committer: Jean-Baptiste Kempf

Support NDK r9

(cherry picked from commit 0cbc0606c3e34ac96df27d0e86bb898b80ca0c93)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/compile.sh b/compile.sh
index c53cee6..34c1f99 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