From: Andreas Tobler <andreast-list@fgznet.ch>
To: GCC Patches <gcc-patches@gcc.gnu.org>,
Java Patches <java-patches@gcc.gnu.org>
Subject: [patch] libjava testsuite
Date: Mon, 25 May 2015 19:30:00 -0000 [thread overview]
Message-ID: <5563782E.3030602@fgznet.ch> (raw)
Hi all,
the below patch fixes the PR16923.c test case on FreeBSD (amd64/i386).
Ok for trunk?
Thanks,
Andreas
2015-05-25 Andreas Tobler <andreast@gcc.gnu.org>
* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Add
libiconv for FreeBSD to cxxflags.
Index: testsuite/libjava.jni/jni.exp
===================================================================
--- testsuite/libjava.jni/jni.exp (revision 223651)
+++ testsuite/libjava.jni/jni.exp (working copy)
@@ -274,6 +274,11 @@
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*"] } {
next reply other threads:[~2015-05-25 19:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-25 19:30 Andreas Tobler [this message]
2015-05-26 9:30 ` Andrew Haley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5563782E.3030602@fgznet.ch \
--to=andreast-list@fgznet.ch \
--cc=gcc-patches@gcc.gnu.org \
--cc=java-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).