re PR libgcj/20292 (new test case PR16923 fails)
2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/20292 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile flags. (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags. From-SVN: r95848
This commit is contained in:
parent
59c982fe93
commit
4300c4212e
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
|
||||
|
||||
PR libgcj/20292
|
||||
* testsuite/libjava.jni/jni.exp
|
||||
(gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
|
||||
flags.
|
||||
(gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
|
||||
|
||||
2005-02-23 David Daney <ddaney@avtrex.com>
|
||||
|
||||
* configure.host: Don't use -mxgot for MIPS builds.
|
||||
|
|
|
@ -194,6 +194,9 @@ proc gcj_jni_invocation_compile_c_to_binary {file {options {}}} {
|
|||
set filename [file tail $file]
|
||||
set name [file rootname $filename]
|
||||
|
||||
# Find the generated header.
|
||||
lappend options "additional_flags=-I. -I.."
|
||||
|
||||
# Find jni.h.
|
||||
lappend options "additional_flags=-I$srcdir/../include"
|
||||
|
||||
|
@ -235,7 +238,7 @@ proc gcj_jni_invocation_test_one {file} {
|
|||
pass "bytecompile $file"
|
||||
|
||||
set cfile [file rootname $file].c
|
||||
set cxxflags "-lgcj"
|
||||
set cxxflags "-L../.libs -lgcj"
|
||||
|
||||
if {! [gcj_jni_invocation_compile_c_to_binary $cfile $cxxflags]} {
|
||||
# FIXME
|
||||
|
|
Loading…
Add table
Reference in a new issue