libjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*.
authorDavid Billinghurst <David.Billinghurst@riotinto.com>
Mon, 6 May 2002 11:37:34 +0000 (11:37 +0000)
committerDavid Billinghurst <billingd@gcc.gnu.org>
Mon, 6 May 2002 11:37:34 +0000 (11:37 +0000)
2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>

* testsuite/lib/libjava.exp (libjava_arguments): Don't link
with -no-install on *-*-cygwin*.

From-SVN: r53210

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

index 68e38ecf2badf6753c87577f576c176b70b2aa2c..dcc6d353fe084318e1a1a161727245a3bba54045 100644 (file)
@@ -1,3 +1,8 @@
+2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
+
+       * testsuite/lib/libjava.exp (libjava_arguments): Don't link
+       with -no-install on *-*-cygwin*.
+
 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
 
        * testsuite/lib/libjava.exp (test_libjava_from_source):
index fb23a718eac07686340845370ad836ad630928a4..e083fe05d972fa973377d1f82e148c0891abb997 100644 (file)
@@ -368,8 +368,11 @@ proc libjava_arguments {{mode compile}} {
     }
 
     # Avoid libtool wrapper scripts when possible.
+    # but not if libtool warnings results in FAILs
     if {$mode == "link"} {
-        lappend args "additional_flags=-no-install"
+        if {! [istarget "*-*-cygwin*"]} {
+            lappend args "additional_flags=-no-install"
+        }
     }
 
     return $args