29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From 3780b76e2e91f9204ce5d86b161ec7edb1cbfbee Mon Sep 17 00:00:00 2001
|
|
From: Christoph Reiter <reiter.christoph@gmail.com>
|
|
Date: Sat, 17 Dec 2022 20:14:49 +0100
|
|
Subject: [PATCH 36/N] Revert "Cygwin: Enable dynamicbase on the Cygwin DLL by
|
|
default"
|
|
|
|
This reverts commit 943433b00cacdde0cb9507d0178770a2fb67bd71.
|
|
|
|
This seems to fix fork errors under Docker, see
|
|
https://cygwin.com/pipermail/cygwin/2022-December/252711.html
|
|
---
|
|
winsup/cygwin/Makefile.am | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/winsup/cygwin/Makefile.am b/winsup/cygwin/Makefile.am
|
|
index 6757f04..f3bda04 100644
|
|
--- a/winsup/cygwin/Makefile.am
|
|
+++ b/winsup/cygwin/Makefile.am
|
|
@@ -603,8 +603,7 @@ $(NEW_DLL_NAME): $(LDSCRIPT) libdll.a $(VERSION_OFILES) $(LIBSERVER)\
|
|
$(newlib_build)/libm.a $(newlib_build)/libc.a
|
|
$(AM_V_CXXLD)$(CXX) $(CXXFLAGS) \
|
|
-mno-use-libstdc-wrappers \
|
|
- -Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) \
|
|
- -Wl,--dynamicbase -static \
|
|
+ -Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) -static \
|
|
$${SOURCE_DATE_EPOCH:+-Wl,--no-insert-timestamp} \
|
|
-Wl,--heap=0 -Wl,--out-implib,msysdll.a -shared -o $@ \
|
|
-e @DLL_ENTRY@ $(DEF_FILE) \
|