[patch] pr16923 for darwin
Andreas Tobler
toa@pop.agri.ch
Wed Jun 1 23:26:00 GMT 2005
Hello,
the build/link process on this test case produces some warnings on
darwin which makes the tc fail. Adding the below patch keeps it silent.
Ok for main?
Andreas
2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libjava.jni/jni.exp
(gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
the build process.
Index: testsuite/libjava.jni/jni.exp
===================================================================
RCS file: /cvs/gcc/gcc/libjava/testsuite/libjava.jni/jni.exp,v
retrieving revision 1.22
diff -u -r1.22 jni.exp
--- testsuite/libjava.jni/jni.exp 28 Mar 2005 12:08:28 -0000 1.22
+++ testsuite/libjava.jni/jni.exp 1 Jun 2005 23:14:29 -0000
@@ -196,7 +196,7 @@
# Set some darwin specific options
if { [istarget "*-*-darwin*"] } {
- lappend options "additional_flags=-multiply_defined suppress"
+ lappend options "additional_flags= -bind_at_load
-multiply_defined suppress"
}
# Find the generated header.
lappend options "additional_flags=-I. -I.."
More information about the Java-patches
mailing list