Fix relloc issue on AndroidM
This commit is contained in:
parent
ee90f5044e
commit
e58bfcddf0
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue