From cfe4caf51c829a6bd746566a0b205354fa042dc3 Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Wed, 5 Aug 2015 23:36:19 +0100 Subject: [PATCH 08/15] Prettify linking -no-undefined It might be better to put this change in a conditional block for Windows only? --- libgfortran/Makefile.am | 2 +- libgfortran/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am index 31eb986..f8ef020 100644 --- a/libgfortran/Makefile.am +++ b/libgfortran/Makefile.am @@ -50,7 +50,7 @@ libgfortranbegin_la_LINK = $(LINK) $(libgfortranbegin_la_LDFLAGS) cafexeclib_LTLIBRARIES = libcaf_single.la cafexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR) libcaf_single_la_SOURCES = caf/single.c -libcaf_single_la_LDFLAGS = -static +libcaf_single_la_LDFLAGS = -static -no-undefined libcaf_single_la_DEPENDENCIES = caf/libcaf.h libcaf_single_la_LINK = $(LINK) $(libcaf_single_la_LDFLAGS) diff --git a/libgfortran/Makefile.in b/libgfortran/Makefile.in index 0f60e6e..8473026 100644 --- a/libgfortran/Makefile.in +++ b/libgfortran/Makefile.in @@ -615,7 +615,7 @@ libgfortranbegin_la_LINK = $(LINK) $(libgfortranbegin_la_LDFLAGS) cafexeclib_LTLIBRARIES = libcaf_single.la cafexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR) libcaf_single_la_SOURCES = caf/single.c -libcaf_single_la_LDFLAGS = -static +libcaf_single_la_LDFLAGS = -static -no-undefined libcaf_single_la_DEPENDENCIES = caf/libcaf.h libcaf_single_la_LINK = $(LINK) $(libcaf_single_la_LDFLAGS) @IEEE_SUPPORT_TRUE@fincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)/finclude -- 2.8.1