diff options
Diffstat (limited to 'PATCHES/0008-Prettify-linking-no-undefined.patch')
-rw-r--r-- | PATCHES/0008-Prettify-linking-no-undefined.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/PATCHES/0008-Prettify-linking-no-undefined.patch b/PATCHES/0008-Prettify-linking-no-undefined.patch new file mode 100644 index 0000000..a8ed4bd --- /dev/null +++ b/PATCHES/0008-Prettify-linking-no-undefined.patch @@ -0,0 +1,41 @@ +From cfe4caf51c829a6bd746566a0b205354fa042dc3 Mon Sep 17 00:00:00 2001 +From: Alexey Pavlov <alexey.pawlow@gmail.com> +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 + |