diff options
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests/linkage.exp')
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/linkage.exp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/linkage.exp b/gcc/testsuite/gcc.misc-tests/linkage.exp index 1e0a94b..31bb277 100644 --- a/gcc/testsuite/gcc.misc-tests/linkage.exp +++ b/gcc/testsuite/gcc.misc-tests/linkage.exp @@ -44,8 +44,7 @@ if { [isnative] && ![is_remote host] } then { set native_cflags "-xarch=v9" } } - if {[istarget "i?86*-*-solaris2*"] - || [istarget "x86_64-*-solaris2.1\[0-9\]*"]} { + if {[istarget "i?86*-*-solaris2*"] || [istarget "x86_64-*-solaris2.1\[0-9\]*"]} { set file_string [exec file "linkage-x.o"] if [ string match "*64*" $file_string ] { set native_cflags "-xarch=amd64" @@ -59,9 +58,8 @@ if { [isnative] && ![is_remote host] } then { if [ string match "*64-bit*" $file_string ] { set native_cflags "-m64" } - } elseif {[istarget "i*86-*-linux*"] - || [istarget "i*86-*-gnu*"] - || [istarget "x86_64-*-linux*"]} then { + } elseif {[istarget "i?86-*-linux*"] || [istarget "x86_64-*-linux*"] + || [istarget "i?86-*-gnu*"] || [istarget "x86_64-*-gnu*"] } then { set file_string [exec file "linkage-x.o"] if [ string match "*32-bit*" $file_string ] { set native_cflags "-m32" |