libjava.exp (libjava_arguments): Build with `-no-install' when $mode == "link".
authorJeff Sturm <jsturm@one-point.com>
Wed, 6 Jun 2001 02:53:52 +0000 (02:53 +0000)
committerJeff Sturm <jsturm@gcc.gnu.org>
Wed, 6 Jun 2001 02:53:52 +0000 (02:53 +0000)
* lib/libjava.exp (libjava_arguments): Build with `-no-install'
when $mode == "link".

From-SVN: r42928

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

index 41ce7adbed5f0aac3e4a5d2d5c68b111d31c3405..769542954c30bb44a5ad176f11d648067b63e189 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-05  Jeff Sturm  <jsturm@one-point.com>
+
+       * lib/libjava.exp (libjava_arguments): Build with `-no-install'
+       when $mode == "link".
+
 2001-06-02  Anthony Green  <green@redhat.com>
 
        * libjava.lang/invokethrow.java: Fake a pass for systems which
index 4b797bfd04e12a4d17d4b5518f9246e68dded055..a9ec73eeefa5f1d4da3e0c2197345422a343ded7 100644 (file)
@@ -313,6 +313,11 @@ proc libjava_arguments {{mode compile}} {
        lappend args "compiler=$GCJ_UNDER_TEST -B$objdir/../"
     }
 
+    # Avoid libtool wrapper scripts when possible.
+    if {$mode == "link"} {
+        lappend args "additional_flags=-no-install"
+    }
+
     return $args
 }