aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure.host
diff options
context:
space:
mode:
authorDave Korn <dave.korn.cygwin@gmail.com>2009-09-30 22:20:54 +0000
committerDave Korn <davek@gcc.gnu.org>2009-09-30 22:20:54 +0000
commitc4f0333bbc9247b6488224d1a9969e216e6426e9 (patch)
treec40e57a1388b4b40ca0a2f2d0092aaafae47db72 /libjava/configure.host
parente56817dbc6b6219fc209f7d740e452f3cfb77abe (diff)
downloadgcc-c4f0333bbc9247b6488224d1a9969e216e6426e9.zip
gcc-c4f0333bbc9247b6488224d1a9969e216e6426e9.tar.gz
gcc-c4f0333bbc9247b6488224d1a9969e216e6426e9.tar.bz2
configure.host (libgcj_sublib_ltflags): New variable.
* configure.host (libgcj_sublib_ltflags): New variable. * configure.ac (LIBGCJ_SUBLIB_LTFLAGS): AC_SUBST variable for the above in makefiles. * configure: Regenerate. * Makefile.am (libgcj_la_LDFLAGS_NOUNDEF): Rename from this ... (LIBJAVA_LDFLAGS_NOUNDEF): ... to this, initialise from LIBGCJ_SUBLIB_LTFLAGS (only when building sublibs), and ... (libgij_la_LDFLAGS, libgcj_tools_la_LDFLAGS, libjvm_la_LDFLAGS, lib_gnu_awt_xlib_la_LDFLAGS, libgcj_bc_la_LDFLAGS): ... use it in all these places to replace hard-coded -no-undefined and -bindir flags, as well as ... (libgcj_la_LDFLAGS): ... updating existing reference here. * Makefile.in: Regenerate. * include/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. * gcj/Makefile.in: Likewise. From-SVN: r152347
Diffstat (limited to 'libjava/configure.host')
-rw-r--r--libjava/configure.host3
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/configure.host b/libjava/configure.host
index 2955571..a325bf1 100644
--- a/libjava/configure.host
+++ b/libjava/configure.host
@@ -18,6 +18,7 @@
# libgcj_cflags Special CFLAGS to use when building
# libgcj_cxxflags Special CXXFLAGS to use when building
# libgcj_javaflags Special JAVAFLAGS to use when building
+# libgcj_sublib_ltflags Special Libtool flags to use when building.
# libgcj_interpreter If the bytecode interpreter supports this platform.
# enable_java_net_default If java.net native code should be enabled by
# default.
@@ -41,6 +42,7 @@ libgcj_flags=
libgcj_cflags=
libgcj_cxxflags=
libgcj_javaflags=
+libgcj_sublib_ltflags=
libgcj_interpreter=
enable_java_net_default=yes
enable_hash_synchronization_default=no
@@ -347,6 +349,7 @@ case "${host}" in
BACKTRACESPEC=
# Win32 DLLs are limited to 64k exported symbols each.
enable_libgcj_sublibs_default=yes
+ libgcj_sublib_ltflags='-no-undefined -bindir $(bindir)'
;;
esac