summaryrefslogtreecommitdiff
path: root/libgfortran/Makefile.in
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-09 16:02:36 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-09 16:02:36 +0000
commitb04af9a7620e2ff839dcf47e50b0a9598be7f7fc (patch)
tree9c73f47625de3f97e9cf880c0c8de02f0065983d /libgfortran/Makefile.in
parent28098b5b27c8ae922acb070f62b1307263f252a0 (diff)
downloadgcc-b04af9a7620e2ff839dcf47e50b0a9598be7f7fc.tar.gz
Link libgfortran with -shared-libgcc
* Makefile.am (libgfortran_la_LDFLAGS): Add -Wc,-shared-libgcc. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183016 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/Makefile.in')
-rw-r--r--libgfortran/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgfortran/Makefile.in b/libgfortran/Makefile.in
index 540fdc6f456..b65eca49224 100644
--- a/libgfortran/Makefile.in
+++ b/libgfortran/Makefile.in
@@ -493,7 +493,10 @@ LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) \
toolexeclib_LTLIBRARIES = libgfortran.la
toolexeclib_DATA = libgfortran.spec
libgfortran_la_LINK = $(LINK) $(libgfortran_la_LDFLAGS)
-libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) $(LIBQUADLIB) -lm $(extra_ldflags_libgfortran) $(version_arg)
+libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` \
+ $(LTLDFLAGS) $(LIBQUADLIB) -lm $(extra_ldflags_libgfortran) \
+ $(version_arg) -Wc,-shared-libgcc
+
libgfortran_la_DEPENDENCIES = $(version_dep) libgfortran.spec $(LIBQUADLIB_DEP)
myexeclib_LTLIBRARIES = libgfortranbegin.la
myexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)