Cygwin: Remove nostdlib Makefile variable

It's used in one place, and it's value is unconditional.
This commit is contained in:
Jon Turney 2020-10-03 21:39:40 +01:00
parent 74a164f1c1
commit 08f5cc2ef4
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
2 changed files with 1 additions and 3 deletions

View File

@ -30,8 +30,6 @@ top_builddir:=$(call justdir,${target_builddir})
cygwin_build:=${target_builddir}/winsup/cygwin
newlib_build:=${target_builddir}/newlib
nostdlib:=-nostdlib
VPATH:=${srcdir}
.SUFFIXES:

View File

@ -679,7 +679,7 @@ $(LDSCRIPT): $(LDSCRIPT).in
$(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg $(DLL_OFILES) $(LIBSERVER) $(LIBC) $(LIBM) $(API_VER) Makefile $(VERSION_OFILES)
$(CXX) $(CXXFLAGS) \
-mno-use-libstdc-wrappers \
-Wl,--gc-sections $(nostdlib) -Wl,-T$(firstword $^) -static \
-Wl,--gc-sections -nostdlib -Wl,-T$(firstword $^) -static \
-Wl,--heap=0 -Wl,--out-implib,cygdll.a -shared -o $@ \
-e $(DLL_ENTRY) $(DEF_FILE) $(DLL_OFILES) $(VERSION_OFILES) \
$(MALLOC_OBJ) $(LIBSERVER) $(LIBM) $(LIBC) \