From 278b0f63a1a1dd1a877209248142193dbad5464d Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Sun, 9 Sep 2007 18:40:36 +0000 Subject: [PATCH] re PR libgcj/33326 (libjava - testsuite fails on intel Macintosh) 2007-09-09 Andreas Tobler PR libgcj/33326 * testsuite/lib/libjava.exp (libjava_arguments): Append the test spec only for linux targets. From-SVN: r128302 --- libjava/ChangeLog | 6 ++++++ libjava/testsuite/lib/libjava.exp | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index dd86f277197..22e6a1fc2a3 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2007-09-09 Andreas Tobler + + PR libgcj/33326 + * testsuite/lib/libjava.exp (libjava_arguments): Append the test spec + only for linux targets. + 2007-09-09 Andrew Haley * interpret-run.cc (invokevirtual_resolved): Nullcheck object on diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp index 2a3ee0bee4e..68cb1ecf1aa 100644 --- a/libjava/testsuite/lib/libjava.exp +++ b/libjava/testsuite/lib/libjava.exp @@ -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" - lappend args "additional_flags=-specs=libgcj-test.spec" + + 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