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] pr16923 for darwin


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.."



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