Fix relloc issue on AndroidM

This commit is contained in:
root 2017-04-05 23:46:13 +02:00
parent ee90f5044e
commit e58bfcddf0
14 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ do
echo -e building for ARCH="$arch, OPTIONS=$OPTIONS.... \n"
./configure --host=$HOST --with-android-cpu=$arch --prefix=$HOME/$arch --with-pic --enable-nonfree=$ENABLE_NONFREE --enable-gpl=$ENABLE_GPL --enable-debug=$DEBUG $OPTIONS
./configure --host=$HOST --with-android-cpu=$arch --prefix=$HOME/$arch --without-pic --enable-nonfree=$ENABLE_NONFREE --enable-gpl=$ENABLE_GPL --enable-debug=$DEBUG $OPTIONS
make clean
make uninstall
make all

View File

@ -79,7 +79,7 @@ if test "$target_os" = "android"; then
AC_SUBST(NDK, $NDK)
export CFLAGS="${CFLAGS} -DANDROID=1 -fPIC"
export CFLAGS="${CFLAGS} -DANDROID=1"
export CPPFLAGS=$CFLAGS
export LDFLAGS="${LDFLAGS} -lc -lm -lgcc"