Commit 517d07c9 by Andreas Tobler

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
parent 815facd3
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> 2015-05-24 Eric Botcazou <ebotcazou@adacore.com>
* configure: Regenerate. * configure: Regenerate.
......
...@@ -274,6 +274,11 @@ proc gcj_jni_get_cxxflags_invocation {} { ...@@ -274,6 +274,11 @@ proc gcj_jni_get_cxxflags_invocation {} {
eval lappend cxxflags "-shared-libgcc -lgcj $libiconv" 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 # Make sure libgcc unwinder is used on 64-bit Solaris 10+/x86 rather than
# the libc one. # the libc one.
if { [istarget "*-*-solaris*"] } { if { [istarget "*-*-solaris*"] } {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment