diff options
author | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-04 05:51:57 +0000 |
---|---|---|
committer | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-04 05:51:57 +0000 |
commit | a8dc4a292b02b0bcb7b9a87f46033729a592d10a (patch) | |
tree | 61da8504716f32fbcb8d9fc8e45aabf76d5d8eda /libjava/configure.ac | |
parent | cb6f50ce2caf83ac6c0908700851650590c9498a (diff) | |
download | gcc-a8dc4a292b02b0bcb7b9a87f46033729a592d10a.tar.gz |
Fix PR java/21206: Unrecognized option '-Wl,-rpath' for jv-convert
libjava/:
PR java/21206
* configure.ac (LDLIBICONV): New substituted variable, with
instances of '-Wl,' removed from LIBICONV.
* configure: Regenerate.
* libgcj.spec.in: Use @LDLIBICONV@ not @LIBICONV@.
* Makefile.in: Regenerate.
* gcj/Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169822 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r-- | libjava/configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac index e5310c1c955..a45cfc967d4 100644 --- a/libjava/configure.ac +++ b/libjava/configure.ac @@ -1240,6 +1240,8 @@ else AM_ICONV AM_LC_MESSAGES AC_STRUCT_TIMEZONE + LDLIBICONV=`echo " $LIBICONV " | sed "s/${acl_cv_wl--Wl,}/ /g; s/,/ /g"` + AC_SUBST([LDLIBICONV]) AC_CHECK_FUNCS(gethostbyname_r, [ AC_DEFINE(HAVE_GETHOSTBYNAME_R, 1, |