Skip to content
Snippets Groups Projects
Commit 76425f89 authored by H.J. Lu's avatar H.J. Lu Committed by H.J. Lu
Browse files

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
No related branches found
No related tags found
No related merge requests found
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> 2009-11-18 Nick Clifton <nickc@redhat.com>
* g++.dg/lto/20091002-1_0.C: Replace -shared with -r -nostlib. * g++.dg/lto/20091002-1_0.C: Replace -shared with -r -nostlib.
......
...@@ -57,7 +57,7 @@ if { [isnative] && ![is_remote host] } then { ...@@ -57,7 +57,7 @@ if { [isnative] && ![is_remote host] } then {
if [ string match "*64-bit*" $file_string ] { if [ string match "*64-bit*" $file_string ] {
set native_cflags "-m64" 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"] set file_string [exec file "linkage-x.o"]
if [ string match "*32-bit*" $file_string ] { if [ string match "*32-bit*" $file_string ] {
set native_cflags "-m32" set native_cflags "-m32"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment