aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/config/i386/gnu-user64.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/gcc/config/i386/gnu-user64.h')
-rw-r--r--gcc-4.8/gcc/config/i386/gnu-user64.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.8/gcc/config/i386/gnu-user64.h b/gcc-4.8/gcc/config/i386/gnu-user64.h
index 952bb5b47..ad636a171 100644
--- a/gcc-4.8/gcc/config/i386/gnu-user64.h
+++ b/gcc-4.8/gcc/config/i386/gnu-user64.h
@@ -46,6 +46,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define SPEC_X32 "mx32"
#endif
+#undef ANDROID_TARGET_CC1_SPEC
+#define ANDROID_TARGET_CC1_SPEC \
+ "%{m32:-mstackrealign -mssse3 -fno-short-enums}" \
+ "%{!m32:-msse4.2 -mpopcnt}"
+
#undef ASM_SPEC
#define ASM_SPEC "%{" SPEC_32 ":--32} \
%{" SPEC_64 ":--64} \