1 Patch from https://github.com/crystax/android-toolchain-gcc-6
3 diff -u -r ../gcc-6.1.0/gcc/config/i386/gnu-user64.h ./gcc/config/i386/gnu-user64.h
4 --- ../gcc-6.1.0/gcc/config/i386/gnu-user64.h 2016-01-04 09:30:50.000000000 -0500
5 +++ ./gcc/config/i386/gnu-user64.h 2016-06-19 17:26:43.129238919 -0400
7 #define SPEC_X32 "mx32"
10 +#undef ANDROID_TARGET_CC1_SPEC
11 +#define ANDROID_TARGET_CC1_SPEC \
12 + "%{m32:-mssse3 -fno-short-enums}" \
13 + "%{!m32:-msse4.2 -mpopcnt}"
16 #define ASM_SPEC "%{" SPEC_32 ":--32} \