fix strange android compilation failure (The file boost/detail/endian.hpp needs to be set up for your CPU type)

This commit is contained in:
Miguel Freitas 2014-12-06 11:36:08 -02:00
parent 7bc233c1a7
commit fecaa56ea1

View File

@ -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" \