chiark / gitweb /
vim: Update to latest patch
[termux-packages] / packages / gcc / gcc-config-i386-gnu-user.h.patch
1 diff -u -r ../gcc-6.1.0/gcc/config/i386/gnu-user.h ./gcc/config/i386/gnu-user.h
2 --- ../gcc-6.1.0/gcc/config/i386/gnu-user.h     2016-01-04 09:30:50.000000000 -0500
3 +++ ./gcc/config/i386/gnu-user.h        2016-04-29 05:02:49.942975771 -0400
4 @@ -65,9 +65,14 @@
5     When the -shared link option is used a final link is not being
6     done.  */
7  
8 +#undef ANDROID_TARGET_CC1_SPEC
9 +#define ANDROID_TARGET_CC1_SPEC \
10 +  " -mssse3 -fno-short-enums " \
11 +
12  #undef  ASM_SPEC
13  #define ASM_SPEC \
14 -  "--32 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
15 +  "--32 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}} " \
16 +  LINUX_OR_ANDROID_CC ("", ANDROID_ASM_SPEC)
17  
18  #undef  SUBTARGET_EXTRA_SPECS
19  #define SUBTARGET_EXTRA_SPECS \