re PR libgcj/33326 (libjava - testsuite fails on intel Macintosh)

2007-09-09  Andreas Tobler  <a.tobler@schweiz.org>

	PR libgcj/33326
	* testsuite/lib/libjava.exp (libjava_arguments): Append the test spec
	only for linux targets.

From-SVN: r128302
This commit is contained in:
Andreas Tobler 2007-09-09 18:40:36 +00:00 committed by Andreas Tobler
parent 4845dbb50e
commit 278b0f63a1
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-09-09 Andreas Tobler <a.tobler@schweiz.org>
PR libgcj/33326
* testsuite/lib/libjava.exp (libjava_arguments): Append the test spec
only for linux targets.
2007-09-09 Andrew Haley <aph@redhat.com>
* interpret-run.cc (invokevirtual_resolved): Nullcheck object on

View File

@ -379,7 +379,11 @@ proc libjava_arguments {{mode compile}} {
if {$mode == "link"} {
global wrapper_file wrap_compile_flags
lappend args "additional_flags=$wrap_compile_flags"
if { [string match "linux" $target_triplet] } {
lappend args "additional_flags=-specs=libgcj-test.spec"
}
lappend args "libs=$wrapper_file"
lappend args "libs=$libjava"
lappend args debug