This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] fix darwin testsuite to match libtool update


Hello,

this patch fixes the test suite failures on darwin after the libtool upgrade.


Ok, for trunk?


Thanks,
Andreas

2008-09-27 Andreas Tobler <a.tobler@schweiz.org>

	* testsuite/lib/libjava.exp (libjava_arguments): Adjust additional_flags
	for darwin after libtool update.
Index: testsuite/lib/libjava.exp
===================================================================
--- testsuite/lib/libjava.exp	(revision 140659)
+++ testsuite/lib/libjava.exp	(working copy)
@@ -422,10 +422,12 @@
     # Avoid libtool wrapper scripts when possible.
     # but not if libtool warnings results in FAILs
     if {$mode == "link"} {
-	if {! [istarget "*-*-cygwin*"] && ! [istarget "*-*-mingw*"] } {
+	if {! [istarget "*-*-cygwin*"] && ! [istarget "*-*-mingw*"]
+	    && ! [istarget "*-*-darwin*"] } { 
 	    lappend args "additional_flags=-no-install"
 	}
 	if { [istarget "*-*-darwin*"] } {
+	    lappend args "additional_flags=-no-fast-install"
 	    lappend args "additional_flags=-bind_at_load"
 	    lappend args "additional_flags=-multiply_defined suppress"
 	}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]