mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
jni.exp (gcj_jni_get_cxxflags_invocation): Add libiconv for FreeBSD to cxxflags.
2015-05-26 Andreas Tobler <andreast@gcc.gnu.org> * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Add libiconv for FreeBSD to cxxflags. From-SVN: r223706
This commit is contained in:
parent
815facd36d
commit
517d07c980
@ -1,3 +1,8 @@
|
||||
2015-05-26 Andreas Tobler <andreast@gcc.gnu.org>
|
||||
|
||||
* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Add
|
||||
libiconv for FreeBSD to cxxflags.
|
||||
|
||||
2015-05-24 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
@ -274,6 +274,11 @@ proc gcj_jni_get_cxxflags_invocation {} {
|
||||
eval lappend cxxflags "-shared-libgcc -lgcj $libiconv"
|
||||
}
|
||||
|
||||
# FreeBSD needs -liconv linked, otherwise we get some unresolved.
|
||||
if { [istarget "*-*-freebsd*"] } {
|
||||
eval lappend cxxflags "$libiconv"
|
||||
}
|
||||
|
||||
# Make sure libgcc unwinder is used on 64-bit Solaris 10+/x86 rather than
|
||||
# the libc one.
|
||||
if { [istarget "*-*-solaris*"] } {
|
||||
|
Loading…
Reference in New Issue
Block a user