summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-09 18:40:36 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-09 18:40:36 +0000
commit578475739ef836c6c8d599a462f715a0429ef712 (patch)
treeb756a697d6f4a3187fcd10c5a8bb9889f765a8be /libjava
parentf9d21a558c1eb651ee26c3322c1f85bc58d343f0 (diff)
downloadgcc-578475739ef836c6c8d599a462f715a0429ef712.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128302 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/testsuite/lib/libjava.exp6
2 files changed, 11 insertions, 1 deletions
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 <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
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