aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/config/i386/linux-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/gcc/config/i386/linux-common.h')
-rw-r--r--gcc-4.8/gcc/config/i386/linux-common.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc-4.8/gcc/config/i386/linux-common.h b/gcc-4.8/gcc/config/i386/linux-common.h
index 1e8bf6b2d..731a5bd0f 100644
--- a/gcc-4.8/gcc/config/i386/linux-common.h
+++ b/gcc-4.8/gcc/config/i386/linux-common.h
@@ -30,7 +30,14 @@ along with GCC; see the file COPYING3. If not see
#undef CC1_SPEC
#define CC1_SPEC \
LINUX_OR_ANDROID_CC (GNU_USER_TARGET_CC1_SPEC, \
- GNU_USER_TARGET_CC1_SPEC " " ANDROID_CC1_SPEC)
+ GNU_USER_TARGET_CC1_SPEC \
+ " -mstackrealign -msse3" \
+ " -m32 -fno-short-enums" \
+ " " \
+ ANDROID_CC1_SPEC("-fPIC"))
+
+#define CC1PLUS_SPEC \
+ LINUX_OR_ANDROID_CC ("", ANDROID_CC1PLUS_SPEC)
#undef LINK_SPEC
#define LINK_SPEC \