python: Restore CCSHARED="-fPIC" for Android
Fixes "unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC" on arm.
This commit is contained in:
parent
b79434aa72
commit
62d73a31dd
@ -1,7 +1,16 @@
|
||||
diff -u -r ../Python-3.5.0/configure ./configure
|
||||
--- ../Python-3.5.0/configure 2015-09-13 07:41:26.000000000 -0400
|
||||
+++ ./configure 2015-10-19 19:09:59.295440276 -0400
|
||||
@@ -10946,8 +10946,6 @@
|
||||
diff -u -r ../Python-3.6.1/configure ./configure
|
||||
--- ../Python-3.6.1/configure 2017-03-21 07:32:38.000000000 +0100
|
||||
+++ ./configure 2017-03-23 23:42:47.210898734 +0100
|
||||
@@ -9295,7 +9295,7 @@
|
||||
then CCSHARED="-fPIC";
|
||||
else CCSHARED="+z";
|
||||
fi;;
|
||||
- Linux-android*) ;;
|
||||
+ Linux-android*) CCSHARED="-fPIC";;
|
||||
Linux*|GNU*) CCSHARED="-fPIC";;
|
||||
BSD/OS*/4*) CCSHARED="-fpic";;
|
||||
FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
|
||||
@@ -11293,8 +11293,6 @@
|
||||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user