OSDN Git Service

2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
[pf3gnuchains/gcc-fork.git] / libjava / testsuite / lib / libjava.exp
index fb23a71..e083fe0 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