b257fed926
Also add patches from crystax
22 lines
791 B
Diff
22 lines
791 B
Diff
diff -u -r ../gcc-6.1.0/gcc/config/arm/linux-eabi.h ./gcc/config/arm/linux-eabi.h
|
|
--- ../gcc-6.1.0/gcc/config/arm/linux-eabi.h 2016-01-04 09:30:50.000000000 -0500
|
|
+++ ./gcc/config/arm/linux-eabi.h 2016-04-29 04:54:39.834509023 -0400
|
|
@@ -108,11 +108,16 @@
|
|
#define CC1_SPEC \
|
|
LINUX_OR_ANDROID_CC (GNU_USER_TARGET_CC1_SPEC " " ASAN_CC1_SPEC, \
|
|
GNU_USER_TARGET_CC1_SPEC " " ASAN_CC1_SPEC " " \
|
|
- ANDROID_CC1_SPEC)
|
|
+ ANDROID_CC1_SPEC("-fpic"))
|
|
|
|
#define CC1PLUS_SPEC \
|
|
LINUX_OR_ANDROID_CC ("", ANDROID_CC1PLUS_SPEC)
|
|
|
|
+#undef ASM_SPEC
|
|
+#define ASM_SPEC \
|
|
+ LINUX_OR_ANDROID_CC (DEFAULT_ASM_SPEC, \
|
|
+ DEFAULT_ASM_SPEC " " ANDROID_ASM_SPEC)
|
|
+
|
|
#undef LIB_SPEC
|
|
#define LIB_SPEC \
|
|
LINUX_OR_ANDROID_LD (GNU_USER_TARGET_LIB_SPEC, \
|