summaryrefslogtreecommitdiff
path: root/libjava/Makefile.am
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-19 05:14:13 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-19 05:14:13 +0000
commit45e262002cce087d396ff18d363196b7e7da03a9 (patch)
tree24a3a22ee73c6d38b068014bfb4d07d236bc2445 /libjava/Makefile.am
parentb88c06b5d7e46d1db8f85fd29fee3a13da956ac5 (diff)
downloadgcc-45e262002cce087d396ff18d363196b7e7da03a9.tar.gz
2005-08-19 Andrew Pinski <pinskia@physics.uc.edu>
* Makefile.am (extra_ldflags_libjava): New variable to substitute in. (LIBLINK): Add extra_ldflags_libjava to it. * configure.ac (extra_ldflags_libjava): Set for *-darwin* to "-Wl,-single_module". * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103265 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/Makefile.am')
-rw-r--r--libjava/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index 4bafc5dbe40..046b68189fa 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -91,8 +91,12 @@ ZIP = @ZIP@
## compiles.
GCJ_WITH_FLAGS = $(GCJ) --encoding=UTF-8 -Wno-deprecated
-GCJLINK = $(LIBTOOL) --tag=GCJ --mode=link $(GCJ) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@
-LIBLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXX) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@
+extra_ldflags_libjava = @extra_ldflags_libjava@
+
+GCJLINK = $(LIBTOOL) --tag=GCJ --mode=link $(GCJ) -L$(here) $(JC1FLAGS) \
+ $(LDFLAGS) -o $@
+LIBLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXX) -L$(here) $(JC1FLAGS) \
+ $(LDFLAGS) $(extra_ldflags_libjava) -o $@
GCC_UNWIND_INCLUDE = @GCC_UNWIND_INCLUDE@