* gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.
From-SVN: r51691
This commit is contained in:
parent
04a9d0805e
commit
ee3c063932
|
@ -1,3 +1,7 @@
|
|||
2002-04-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.
|
||||
|
||||
2002-04-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
|
||||
|
||||
* g++.dg/inherit/template-as-base.C: Expect error.
|
||||
|
|
|
@ -36,6 +36,12 @@ if [isnative] then {
|
|||
set native_cflags "-n32"
|
||||
}
|
||||
}
|
||||
if [istarget "sparc-sun-solaris2*"] {
|
||||
set file_string [exec file "linkage-x.o"]
|
||||
if [ string match "*64*" $file_string ] {
|
||||
set native_cflags "-xarch=v9"
|
||||
}
|
||||
}
|
||||
|
||||
catch { exec rm -f linkage-y.o }
|
||||
send_log "cc -c $native_cflags $srcdir/$subdir/linkage-y.c >&/dev/null\n"
|
||||
|
|
Loading…
Reference in New Issue