diff options
author | davek <davek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-30 22:20:54 +0000 |
---|---|---|
committer | davek <davek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-30 22:20:54 +0000 |
commit | 4b69d5f251c7656c50f22803d053fe4e23e3c678 (patch) | |
tree | c40e57a1388b4b40ca0a2f2d0092aaafae47db72 /libjava/configure.host | |
parent | 8337b32480c0319e23a26416249d275f89490ec7 (diff) | |
download | gcc-4b69d5f251c7656c50f22803d053fe4e23e3c678.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152347 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.host')
-rw-r--r-- | libjava/configure.host | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/configure.host b/libjava/configure.host index 2955571b276..a325bf1fb17 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 |