summaryrefslogtreecommitdiff
path: root/libgfortran/Makefile.in
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2009-08-09 11:02:08 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2009-08-09 11:02:08 +0000
commit0a940ddd90f0c10c82ed5c08635d1de80bae4807 (patch)
treed200a7b18269f746486e040dd5f5466496a19422 /libgfortran/Makefile.in
parent2b374f55986f4d4c84d1af9a9a6be1c8d72b1e91 (diff)
downloadgcc-0a940ddd90f0c10c82ed5c08635d1de80bae4807.tar.gz
re PR libfortran/40549 (Building libgfortran as a DLL)
PR libfortran/40549 * Makefile.in (LTLDFLAGS): Add -no-undefined. * Makefile.am: Regenerate. * libgfortran.h: Remove unused block of code. From-SVN: r150590
Diffstat (limited to 'libgfortran/Makefile.in')
-rw-r--r--libgfortran/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/libgfortran/Makefile.in b/libgfortran/Makefile.in
index 7ea32c6608b..b724ee3b478 100644
--- a/libgfortran/Makefile.in
+++ b/libgfortran/Makefile.in
@@ -957,7 +957,9 @@ 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))
+LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) \
+ -no-undefined
+
toolexeclib_LTLIBRARIES = libgfortran.la
libgfortran_la_LINK = $(LINK)
libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) -lm $(extra_ldflags_libgfortran) $(version_arg)