summaryrefslogtreecommitdiff
path: root/libgfortran/Makefile.am
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.am
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.am')
-rw-r--r--libgfortran/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am
index aaecdb4f11a..26565a2daea 100644
--- a/libgfortran/Makefile.am
+++ b/libgfortran/Makefile.am
@@ -13,7 +13,8 @@ else
version_arg =
endif
-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)