public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] libjava testsuite
@ 2015-05-25 19:30 Andreas Tobler
  2015-05-26  9:30 ` Andrew Haley
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Tobler @ 2015-05-25 19:30 UTC (permalink / raw)
  To: GCC Patches, Java Patches

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*"] } {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] libjava testsuite
  2015-05-25 19:30 [patch] libjava testsuite Andreas Tobler
@ 2015-05-26  9:30 ` Andrew Haley
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2015-05-26  9:30 UTC (permalink / raw)
  To: Andreas Tobler, GCC Patches, Java Patches

On 05/25/2015 08:29 PM, Andreas Tobler wrote:
> Ok for trunk?

OK, thanks.

Andrew.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-26  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-25 19:30 [patch] libjava testsuite Andreas Tobler
2015-05-26  9:30 ` Andrew Haley

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).