jni.exp (gcj_jni_get_cxxflags_invocation): Add $libiconv to cxxflags for alpha*-dec-osf*.

* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
	Add $libiconv to cxxflags for alpha*-dec-osf*.

From-SVN: r172507
This commit is contained in:
Rainer Orth 2011-04-15 17:12:35 +00:00 committed by Rainer Orth
parent 64574d417a
commit 9472124fb4
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
Add $libiconv to cxxflags for alpha*-dec-osf*.
2011-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2011-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR testsuite/21164 PR testsuite/21164

View File

@ -280,6 +280,11 @@ proc gcj_jni_get_cxxflags_invocation {} {
lappend cxxflags "-shared-libgcc" lappend cxxflags "-shared-libgcc"
} }
# Tru64 UNIX needs -liconv linked explicitly since gcc does the linking.
if { [istarget "alpha*-dec-osf*"] } {
lappend cxxflags $libiconv
}
return $cxxflags return $cxxflags
} }