From c4f0333bbc9247b6488224d1a9969e216e6426e9 Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Wed, 30 Sep 2009 22:20:54 +0000 Subject: 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 --- libjava/configure.host | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libjava/configure.host') 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 -- cgit v1.1