summaryrefslogtreecommitdiff
path: root/libgfortran/Makefile.in
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-09 11:02:08 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-09 11:02:08 +0000
commitd5e884a5a9c1b7de1556e6791373f244dac4884c (patch)
treed200a7b18269f746486e040dd5f5466496a19422 /libgfortran/Makefile.in
parentde0c4488fdfa38f2c6c01b098b416b8772572e54 (diff)
downloadgcc-d5e884a5a9c1b7de1556e6791373f244dac4884c.tar.gz
PR libfortran/40549
* Makefile.in (LTLDFLAGS): Add -no-undefined. * Makefile.am: Regenerate. * libgfortran.h: Remove unused block of code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150590 138bc75d-0d04-0410-961f-82ee72b054a4
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)