Commit ee3c0639 by Kaveh R. Ghazi Committed by Kaveh Ghazi

* gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.

From-SVN: r51691
parent 04a9d080
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"
......
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