summaryrefslogtreecommitdiff
path: root/libgfortran/Makefile.am
diff options
context:
space:
mode:
authorjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-09 10:10:53 +0000
committerjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-09 10:10:53 +0000
commitac051731f17f9008a4ff084964d12bd76a8e52ec (patch)
treee068e2cf2b1dce36c13da737f2887b6c7c782ef1 /libgfortran/Makefile.am
parent70393469205e1baf691721d517f4c6332084fa32 (diff)
downloadgcc-ac051731f17f9008a4ff084964d12bd76a8e52ec.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135112 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/Makefile.am')
-rw-r--r--libgfortran/Makefile.am4
1 files changed, 3 insertions, 1 deletions
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)