From 19cf682fd52c042ec6b988ef294dacc45fa50944 Mon Sep 17 00:00:00 2001 From: Pavel Chupin Date: Wed, 22 May 2013 11:12:15 +0400 Subject: 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 --- gcc-4.7/gcc/config/i386/gnu-user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc-4.7') diff --git a/gcc-4.7/gcc/config/i386/gnu-user.h b/gcc-4.7/gcc/config/i386/gnu-user.h index 59a95f2fc..9c1e8f90f 100644 --- a/gcc-4.7/gcc/config/i386/gnu-user.h +++ b/gcc-4.7/gcc/config/i386/gnu-user.h @@ -85,7 +85,7 @@ along with GCC; see the file COPYING3. If not see LINUX_OR_ANDROID_CC (LINUX_TARGET_CC1_SPEC, \ LINUX_TARGET_CC1_SPEC \ " -mstackrealign -msse3" \ - " -m32 -fno-short-enums" \ + " -fno-short-enums" \ " " \ ANDROID_CC1_SPEC("-fPIC")) -- cgit v1.2.3