diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2012-10-23 11:05:35 -0700 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-10-23 11:05:36 -0700 |
commit | ae948abe78321551be84b54ea2b0230614f00670 (patch) | |
tree | 0c7da1c542ddab2a3ef1f4bf79af73ad460bb114 /gcc-4.6/gcc/config/i386 | |
parent | 7486fd3bda93a4e5c4c19584982d3da57c6b1044 (diff) | |
parent | c779c1ff50bde450eb49b3998353804602c4d963 (diff) | |
download | toolchain_gcc-ae948abe78321551be84b54ea2b0230614f00670.tar.gz toolchain_gcc-ae948abe78321551be84b54ea2b0230614f00670.tar.bz2 toolchain_gcc-ae948abe78321551be84b54ea2b0230614f00670.zip |
Merge "Enable x86/arm gcc defaults"
Diffstat (limited to 'gcc-4.6/gcc/config/i386')
-rw-r--r-- | gcc-4.6/gcc/config/i386/linux.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc-4.6/gcc/config/i386/linux.h b/gcc-4.6/gcc/config/i386/linux.h index 5f0bcdbf6..57a8758aa 100644 --- a/gcc-4.6/gcc/config/i386/linux.h +++ b/gcc-4.6/gcc/config/i386/linux.h @@ -85,7 +85,15 @@ along with GCC; see the file COPYING3. If not see #undef CC1_SPEC #define CC1_SPEC \ LINUX_OR_ANDROID_CC (LINUX_TARGET_CC1_SPEC, \ - LINUX_TARGET_CC1_SPEC " " ANDROID_CC1_SPEC) + LINUX_TARGET_CC1_SPEC \ + " -march=i686 -mtune=atom" \ + " -mstackrealign -msse3 -mfpmath=sse" \ + " -m32 -fno-short-enums" \ + " " \ + ANDROID_CC1_SPEC("-fPIC")) + +#define CC1PLUS_SPEC \ + LINUX_OR_ANDROID_CC ("", ANDROID_CC1PLUS_SPEC) /* Provide a LINK_SPEC appropriate for Linux. Here we provide support for the special GCC options -static and -shared, which allow us to |