OSDN Git Service

2009-11-18 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 2009 17:50:45 +0000 (17:50 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 2009 17:50:45 +0000 (17:50 +0000)
* gcc.misc-tests/linkage.exp: Also check -m32 for i*86-*-linux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154303 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/linkage.exp

index 2c15a09..aa83db0 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gcc.misc-tests/linkage.exp: Also check -m32 for i*86-*-linux*.
+
 2009-11-18  Nick Clifton  <nickc@redhat.com>
        
        * g++.dg/lto/20091002-1_0.C: Replace -shared with -r -nostlib.
index 05c0311..69e3183 100644 (file)
@@ -57,7 +57,7 @@ if { [isnative] && ![is_remote host] } then {
            if [ string match "*64-bit*" $file_string ] {
                set native_cflags "-m64"
            }
-       } elseif [istarget "x86_64-*-linux*"] {
+       } elseif {[istarget "i*86-*-linux*"] || [istarget "x86_64-*-linux*"]} {
            set file_string [exec file "linkage-x.o"]
            if [ string match "*32-bit*" $file_string ] {
                set native_cflags "-m32"