diff mbox

PATCH: PR bootstrap/52812: --enable-targets=all --with-multilib-list=m32,m64,mx32 doesn't work with i686-linux

Message ID 20120331211019.GA31741@lucon.org
State New
Headers show

Commit Message

H.J. Lu March 31, 2012, 9:10 p.m. UTC
Hi,

I checked in this patch as an obvious fix to handle -mx32 like -m64.
Tested on Linux/ia32 with

--enable-targets=all --with-multilib-list=m32,m64,mx32

Thanks.

H.J.
--
diff mbox

Patch

Index: libgomp/configure.tgt
===================================================================
--- libgomp/configure.tgt	(revision 186048)
+++ libgomp/configure.tgt	(working copy)
@@ -59,7 +59,7 @@  if test $enable_linux_futex = yes; then
     i[456]86-*-linux*)
 	config_path="linux/x86 linux posix"
 	case " ${CC} ${CFLAGS} " in
-	  *" -m64 "*)
+	  *" -m64 "*|*" -mx32 "*)
 	    ;;
 	  *)
 	    if test -z "$with_arch"; then
Index: libgomp/ChangeLog
===================================================================
--- libgomp/ChangeLog	(revision 186048)
+++ libgomp/ChangeLog	(working copy)
@@ -1,3 +1,8 @@ 
+2012-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR bootstrap/52812
+	* configure.tgt (i[456]86-*-linux*): Handle -mx32 like -m64.
+
 2012-03-22  Jakub Jelinek  <jakub@redhat.com>
 
 	PR middle-end/52547
Index: libitm/configure.tgt
===================================================================
--- libitm/configure.tgt	(revision 186048)
+++ libitm/configure.tgt	(working copy)
@@ -53,7 +53,7 @@  case "${target_cpu}" in
 
   i[3456]86)
 	case " ${CC} ${CFLAGS} " in
-	  *" -m64 "*)
+	  *" -m64 "*|*" -mx32 "*)
 	    ;;
 	  *)
 	    if test -z "$with_arch"; then
Index: libitm/ChangeLog
===================================================================
--- libitm/ChangeLog	(revision 186048)
+++ libitm/ChangeLog	(working copy)
@@ -1,3 +1,8 @@ 
+2012-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR bootstrap/52812
+	* configure.tgt (i[456]86-*-linux*): Handle -mx32 like -m64.
+
 2012-03-16  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
 
 	* testsuite/lib/libitm.exp: load fortran-modules.exp