summaryrefslogtreecommitdiffstats
path: root/cygwin-gcc.spec
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2021-10-19 15:18:01 -0400
committerYaakov Selkowitz <yselkowi@redhat.com>2021-10-19 15:18:01 -0400
commit73702990470f5d795ee6e0866e341998d5857d3c (patch)
tree07b5f25f7a8ee3624fab486c33d71df47268d778 /cygwin-gcc.spec
parent041920c9533fad4a517fe6f268ebbd3af2a903a7 (diff)
downloadcygwin-gcc-main.tar.gz
cygwin-gcc-main.tar.xz
cygwin-gcc-main.zip
Pass --disable-dynamicbase to ldHEADmain
The following commit (erroneously) enabled dynamicbase by default for all PE binaries: https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=514b4e191d5f46de8e142fe216e677a35fa9c4bb But that messes up fork() and rebase on Cygwin, which rely on DLLs having static (but editable) bases.
Diffstat (limited to 'cygwin-gcc.spec')
-rw-r--r--cygwin-gcc.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/cygwin-gcc.spec b/cygwin-gcc.spec
index 39c8e24..7dfb51a 100644
--- a/cygwin-gcc.spec
+++ b/cygwin-gcc.spec
@@ -5,7 +5,7 @@
%global gcc_micro 0
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 1
+%global gcc_release 2
Name: cygwin-gcc
Version: %{gcc_major}.%{gcc_minor}.%{gcc_micro}
@@ -54,6 +54,7 @@ Patch11: 0011-Cygwin-define-STD_UNIX.patch
# Fedora-specific patches
Patch1001: 1001-textdomain.patch
+Patch1002: 1002-cygwin-ld-flags.patch
# Upstream patches
#Patch2001: pr47030.patch
@@ -523,6 +524,9 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%changelog
+* Tue Oct 19 2021 Yaakov Selkowitz <yselkowi@redhat.com> - 11.2.0-2
+- Disable dynamicbase by default in DLLs
+
* Thu Sep 02 2021 Yaakov Selkowitz <yselkowi@redhat.com> - 11.2.0-1
- new version