diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2012-01-09 16:02:36 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2012-01-09 16:02:36 +0000 |
commit | 0efbd687f3e56d31e1bf079d7adb926fd697a40d (patch) | |
tree | 9c73f47625de3f97e9cf880c0c8de02f0065983d /libgfortran | |
parent | 345ae17774bc0f8b527fa87c28ad7c6116b845bd (diff) | |
download | gcc-0efbd687f3e56d31e1bf079d7adb926fd697a40d.zip gcc-0efbd687f3e56d31e1bf079d7adb926fd697a40d.tar.gz gcc-0efbd687f3e56d31e1bf079d7adb926fd697a40d.tar.bz2 |
Link libgfortran with -shared-libgcc
* Makefile.am (libgfortran_la_LDFLAGS): Add -Wc,-shared-libgcc.
* Makefile.in: Regenerate.
From-SVN: r183016
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/Makefile.am | 4 | ||||
-rw-r--r-- | libgfortran/Makefile.in | 5 |
3 files changed, 12 insertions, 2 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 19a06cd..c170cae 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2012-01-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * Makefile.am (libgfortran_la_LDFLAGS): Add -Wc,-shared-libgcc. + * Makefile.in: Regenerate. + 2012-01-06 Tobias Burnus <burnus@net-b.de> * caf/single.c (_gfortran_caf_register, _gfortran_caf_deregister): diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am index 350b716..2ff29a8 100644 --- a/libgfortran/Makefile.am +++ b/libgfortran/Makefile.am @@ -36,7 +36,9 @@ 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 diff --git a/libgfortran/Makefile.in b/libgfortran/Makefile.in index 540fdc6..b65eca4 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) |