From fecaa56ea10e4f78974f7227e92c5b9cfca8772d Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 6 Dec 2014 11:36:08 -0200 Subject: [PATCH] fix strange android compilation failure (The file boost/detail/endian.hpp needs to be set up for your CPU type) --- libtorrent/runme-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtorrent/runme-android.sh b/libtorrent/runme-android.sh index 31e1b602..6d2e423e 100644 --- a/libtorrent/runme-android.sh +++ b/libtorrent/runme-android.sh @@ -10,7 +10,7 @@ if [ $1 == "configure" ]; then CPPFLAGS="-I$SYSROOT/usr/include/ -I$BOOSTDIR/include \ -I$NDK_BASE/sources/cxx-stl/gnu-libstdc++/4.6/include \ -I$NDK_BASE/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/include \ - -fexceptions -frtti" \ + -fexceptions -frtti -DANDROID" \ LDFLAGS="-Wl,-rpath-link=$SYSROOT/usr/lib/ -L$SYSROOT/usr/lib/ -L$BOOSTDIR/lib \ $BOOSTDIR/lib/libboost_system-gcc-mt-1_49.a $BOOSTDIR/lib/libboost_thread-gcc-mt-1_49.a \ $NDK_BASE/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/libgnustl_static.a" \