[vlc-commits] android: remove workaround for old ndk

Rafaël Carré git at videolan.org
Wed Jan 25 05:46:34 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Jan 24 23:43:08 2012 -0500| [a2fe52949ec26f1e35f9a83f26e9ae01d7a2efab] | committer: Rafaël Carré

android: remove workaround for old ndk

Give the real host to configure

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

 extras/package/android/configure.sh |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/extras/package/android/configure.sh b/extras/package/android/configure.sh
index 2ec42f9..8421ca9 100755
--- a/extras/package/android/configure.sh
+++ b/extras/package/android/configure.sh
@@ -9,9 +9,6 @@ ANDROID_API=android-9
 
 VLC_SOURCEDIR="`dirname $0`/../../.."
 
-# needed for old ndk: change all the arm-linux-androideabi to arm-eabi
-# the --host is kept on purpose because otherwise libtool complains..
-
 CFLAGS="-g -O2 -mlong-calls -fstrict-aliasing -fprefetch-loop-arrays -ffast-math"
 LDFLAGS="-Wl,-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined"
 
@@ -44,7 +41,7 @@ STRIP="${CROSS_COMPILE}strip" \
 RANLIB="${CROSS_COMPILE}ranlib" \
 AR="${CROSS_COMPILE}ar" \
 PKG_CONFIG_LIBDIR="$VLC_SOURCEDIR/extras/contrib/hosts/arm-eabi/lib/pkgconfig" \
-sh $VLC_SOURCEDIR/configure --host=arm-eabi-linux --build=x86_64-unknown-linux $EXTRA_PARAMS \
+sh $VLC_SOURCEDIR/configure --host=arm-linux-androideabi --build=x86_64-unknown-linux $EXTRA_PARAMS \
                 --enable-live555 --enable-realrtsp \
                 --enable-avformat \
                 --enable-swscale \



More information about the vlc-commits mailing list