re PR libgcj/33326 (libjava - testsuite fails on intel Macintosh)
authorAndreas Tobler <a.tobler@schweiz.org>
Sun, 9 Sep 2007 18:40:36 +0000 (18:40 +0000)
committerAndreas Tobler <andreast@gcc.gnu.org>
Sun, 9 Sep 2007 18:40:36 +0000 (20:40 +0200)
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

libjava/ChangeLog
libjava/testsuite/lib/libjava.exp

index dd86f2771970bd5455cd6c75d54c38d1a49fffbb..22e6a1fc2a341da35e58124a223fb0bec687c6b5 100644 (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
index 2a3ee0bee4e93718cc21c8161cfdd197045d67ea..68cb1ecf1aac359bd15275a059d75709c6f99325 100644 (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"
-       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