[Android] build: fix modplug endianess check

Thomas Guillem git at videolan.org
Tue Oct 23 17:26:46 CEST 2018


vlc-android | branch: 4.0 | Thomas Guillem <thomas at gllm.fr> | Tue Oct 23 14:39:00 2018 +0200| [b4c7c0e86695d3f338671715d371fcec3c38390a] | committer: Thomas Guillem

build: fix modplug endianess check

> https://code.videolan.org/videolan/vlc-android/commit/b4c7c0e86695d3f338671715d371fcec3c38390a
---

 compile-libvlc.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 425e99fc6..1e6dddf4d 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -497,6 +497,9 @@ echo "AR=${NDK_TOOLCHAIN_PATH}/${TARGET_TUPLE}-ar" >> config.mak
 echo "RANLIB=${NDK_TOOLCHAIN_PATH}/${TARGET_TUPLE}-ranlib" >> config.mak
 echo "LD=${NDK_TOOLCHAIN_PATH}/${TARGET_TUPLE}-ld" >> config.mak
 
+# fix modplug endianess check (narrowing error)
+export ac_cv_c_bigendian=no
+
 make $MAKEFLAGS fetch
 checkfail "contribs: make fetch failed"
 



More information about the Android mailing list