summaryrefslogtreecommitdiffstats
path: root/PATCHES/0008-Prettify-linking-no-undefined.patch
diff options
context:
space:
mode:
authorJoerg Koenig <Joerg.Koenig@techsat.com>2019-05-30 14:53:28 (GMT)
committerJoerg Koenig <Joerg.Koenig@techsat.com>2019-05-30 14:53:28 (GMT)
commitfb4009e29d14b8ad1b3945225451dc964e248660 (patch)
treedfbfa106f07e305f27f2bc7487cfc6b22e1ef9a8 /PATCHES/0008-Prettify-linking-no-undefined.patch
parentc75756608d1d3fe2158da5b549fd63ba96ec1c36 (diff)
downloadgcc-compiler-suite-fb4009e29d14b8ad1b3945225451dc964e248660.zip
gcc-compiler-suite-fb4009e29d14b8ad1b3945225451dc964e248660.tar.gz
gcc-compiler-suite-fb4009e29d14b8ad1b3945225451dc964e248660.tar.bz2
New version 1.3.0refs/changes/89/7689/1
windows nativ: - using posix thread model - with dwarf2 - added mingw tools Resolves: :jira:<issue> See also: :jira:<issue> Change-Id: I198fe988f0945db58f65be47dbb87cb9d00c2992
Diffstat (limited to 'PATCHES/0008-Prettify-linking-no-undefined.patch')
-rw-r--r--PATCHES/0008-Prettify-linking-no-undefined.patch41
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
+