Skip to content

Commit b0fe358

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 cd4b539 commit b0fe358

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
@@ -605,8 +605,7 @@ $(NEW_DLL_NAME): $(LDSCRIPT) libdll.a $(VERSION_OFILES) $(LIBSERVER)\
605605
$(newlib_build)/libm.a $(newlib_build)/libc.a
606606
$(AM_V_CXXLD)$(CXX) $(CXXFLAGS) \
607607
-mno-use-libstdc-wrappers \
608-
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) \
609-
-Wl,--dynamicbase -static \
608+
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) -static \
610609
$${SOURCE_DATE_EPOCH:+-Wl,--no-insert-timestamp} \
611610
-Wl,--heap=0 -Wl,--out-implib,msysdll.a -shared -o $@ \
612611
-e @DLL_ENTRY@ $(DEF_FILE) \

0 commit comments

Comments
 (0)