Skip to content

Commit 6bb8c62

Browse files
lazkadscho
authored andcommitted
Revert "Cygwin: Enable dynamicbase on the Cygwin DLL by default"
This reverts commit 943433b. This seems to fix fork errors under Docker, see https://cygwin.com/pipermail/cygwin/2022-December/252711.html
1 parent 24df6e4 commit 6bb8c62

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

winsup/cygwin/Makefile.am

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,7 @@ $(NEW_DLL_NAME): $(LDSCRIPT) libdll.a $(VERSION_OFILES) $(LIBSERVER)\
603603
$(newlib_build)/libm.a $(newlib_build)/libc.a
604604
$(AM_V_CXXLD)$(CXX) $(CXXFLAGS) \
605605
-mno-use-libstdc-wrappers \
606-
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) \
607-
-Wl,--dynamicbase -static \
606+
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) -static \
608607
$${SOURCE_DATE_EPOCH:+-Wl,--no-insert-timestamp} \
609608
-Wl,--heap=0 -Wl,--out-implib,msysdll.a -shared -o $@ \
610609
-e @DLL_ENTRY@ $(DEF_FILE) \

0 commit comments

Comments
 (0)