Commit 76425f89 by H.J. Lu Committed by H.J. Lu

linkage.exp: Also check -m32 for i*86-*-linux*.

2009-11-18  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.misc-tests/linkage.exp: Also check -m32 for i*86-*-linux*.

From-SVN: r154303
parent 573282f8
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.
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment