libpng: Update from 1.6.22 to 1.6.23
[termux-packages] / packages / gcc / gcc-config-arm-linux-eabi.h.patch
1 diff -u -r ../gcc-6.1.0/gcc/config/arm/linux-eabi.h ./gcc/config/arm/linux-eabi.h
2 --- ../gcc-6.1.0/gcc/config/arm/linux-eabi.h 2016-01-04 09:30:50.000000000 -0500
3 +++ ./gcc/config/arm/linux-eabi.h 2016-04-29 04:54:39.834509023 -0400
4 @@ -108,11 +108,16 @@
5 #define CC1_SPEC \
6 LINUX_OR_ANDROID_CC (GNU_USER_TARGET_CC1_SPEC " " ASAN_CC1_SPEC, \
7 GNU_USER_TARGET_CC1_SPEC " " ASAN_CC1_SPEC " " \
8 - ANDROID_CC1_SPEC)
9 + ANDROID_CC1_SPEC("-fpic"))
10
11 #define CC1PLUS_SPEC \
12 LINUX_OR_ANDROID_CC ("", ANDROID_CC1PLUS_SPEC)
13
14 +#undef ASM_SPEC
15 +#define ASM_SPEC \
16 + LINUX_OR_ANDROID_CC (DEFAULT_ASM_SPEC, \
17 + DEFAULT_ASM_SPEC " " ANDROID_ASM_SPEC)
18 +
19 #undef LIB_SPEC
20 #define LIB_SPEC \
21 LINUX_OR_ANDROID_LD (GNU_USER_TARGET_LIB_SPEC, \