diff options
author | Pavel Chupin <pavel.v.chupin@intel.com> | 2013-05-22 11:12:15 +0400 |
---|---|---|
committer | Pavel Chupin <pavel.v.chupin@intel.com> | 2013-05-22 11:12:15 +0400 |
commit | 19cf682fd52c042ec6b988ef294dacc45fa50944 (patch) | |
tree | eae9f230ffbb4028015c8059013e214cfe51d3b1 /gcc-4.8/gcc/config/i386 | |
parent | d909af3e2469aad87d5c3e79b93c778fd26c03a9 (diff) | |
download | toolchain_gcc-19cf682fd52c042ec6b988ef294dacc45fa50944.tar.gz toolchain_gcc-19cf682fd52c042ec6b988ef294dacc45fa50944.tar.bz2 toolchain_gcc-19cf682fd52c042ec6b988ef294dacc45fa50944.zip |
Remove hardcoded -m32 in compiler options
It's required for x86_64 targets where we obviously don't want to
enforce -m32.
It shouldn't affect standard i686 targets because i686 is enforced on
configure stage and it effectively removes 64-bit support, keeping -m32
default.
Patch changes 4.7 and 4.8 only. x86_64 targets are not expected to be
supported in older gcc versions due to many issues and dependencies.
Change-Id: Id15a677a9d3b1712eb95aba92c2c5bd98f9ed1cc
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Diffstat (limited to 'gcc-4.8/gcc/config/i386')
-rw-r--r-- | gcc-4.8/gcc/config/i386/linux-common.h | 2 |
1 files changed, 1 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 51e25b427..7f70bd40b 100644 --- a/gcc-4.8/gcc/config/i386/linux-common.h +++ b/gcc-4.8/gcc/config/i386/linux-common.h @@ -32,7 +32,7 @@ along with GCC; see the file COPYING3. If not see LINUX_OR_ANDROID_CC (GNU_USER_TARGET_CC1_SPEC, \ GNU_USER_TARGET_CC1_SPEC \ " -mstackrealign -msse3" \ - " -m32 -fno-short-enums" \ + " -fno-short-enums" \ " " \ ANDROID_CC1_SPEC("-fPIC")) |