aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/lib
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.org>2007-09-09 18:40:36 +0000
committerAndreas Tobler <andreast@gcc.gnu.org>2007-09-09 20:40:36 +0200
commit278b0f63a1a1dd1a877209248142193dbad5464d (patch)
treeb756a697d6f4a3187fcd10c5a8bb9889f765a8be /libjava/testsuite/lib
parent4845dbb50ed31ad03c579364e4b70bbe90e7af99 (diff)
downloadgcc-278b0f63a1a1dd1a877209248142193dbad5464d.zip
gcc-278b0f63a1a1dd1a877209248142193dbad5464d.tar.gz
gcc-278b0f63a1a1dd1a877209248142193dbad5464d.tar.bz2
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
Diffstat (limited to 'libjava/testsuite/lib')
-rw-r--r--libjava/testsuite/lib/libjava.exp6
1 files changed, 5 insertions, 1 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp
index 2a3ee0b..68cb1ec 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