diff options
author | Julian Brown <julian@codesourcery.com> | 2008-05-09 10:10:53 +0000 |
---|---|---|
committer | Julian Brown <jules@gcc.gnu.org> | 2008-05-09 10:10:53 +0000 |
commit | 7afa92c5a23f13e73262f1df4b252342326ce456 (patch) | |
tree | e068e2cf2b1dce36c13da737f2887b6c7c782ef1 /libgfortran | |
parent | 1353232d3d37c1f3e65a0957671670557b2532a6 (diff) | |
download | gcc-7afa92c5a23f13e73262f1df4b252342326ce456.tar.gz |
Makefile.am (LTLDFLAGS): New.
libgfortran/
* Makefile.am (LTLDFLAGS): New.
(libgfortran_la_LDFLAGS): Use above.
* Makefile.in: Regenerate.
libffi/
* Makefile.am (LTLDFLAGS): New.
(libffi_la_LDFLAGS): Use above.
* Makefile.in: Regenerate.
libobjc/
* Makefile.in (LTLDFLAGS): New.
(libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
From-SVN: r135112
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 6 | ||||
-rw-r--r-- | libgfortran/Makefile.am | 4 | ||||
-rw-r--r-- | libgfortran/Makefile.in | 3 |
3 files changed, 11 insertions, 2 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 26ad0395b64..62b00bc121a 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2008-05-09 Julian Brown <julian@codesourcery.com> + + * Makefile.am (LTLDFLAGS): New. + (libgfortran_la_LDFLAGS): Use above. + * Makefile.in: Regenerate. + 2008-05-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/36131 diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am index 93a4072d7d8..1c2fa4c22c0 100644 --- a/libgfortran/Makefile.am +++ b/libgfortran/Makefile.am @@ -13,9 +13,11 @@ else version_arg = endif +LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) + toolexeclib_LTLIBRARIES = libgfortran.la libgfortran_la_LINK = $(LINK) -libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` -lm $(extra_ldflags_libgfortran) $(version_arg) +libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) -lm $(extra_ldflags_libgfortran) $(version_arg) myexeclib_LTLIBRARIES = libgfortranbegin.la myexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR) diff --git a/libgfortran/Makefile.in b/libgfortran/Makefile.in index 686308a7fa0..dc44e4a29d7 100644 --- a/libgfortran/Makefile.in +++ b/libgfortran/Makefile.in @@ -920,9 +920,10 @@ ACLOCAL_AMFLAGS = -I .. -I ../config gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) @LIBGFOR_USE_SYMVER_FALSE@version_arg = @LIBGFOR_USE_SYMVER_TRUE@version_arg = -Wl,--version-script=$(srcdir)/gfortran.map +LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) toolexeclib_LTLIBRARIES = libgfortran.la libgfortran_la_LINK = $(LINK) -libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` -lm $(extra_ldflags_libgfortran) $(version_arg) +libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) -lm $(extra_ldflags_libgfortran) $(version_arg) myexeclib_LTLIBRARIES = libgfortranbegin.la myexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR) libgfortranbegin_la_SOURCES = fmain.c |