Browse Source
Cygwin: Remove nostdlib Makefile variable
It's used in one place, and it's value is unconditional.
topic/shared_arch_headers
Jon Turney
6 years ago
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
2 changed files with
1 additions and
3 deletions
-
winsup/Makefile.common
-
winsup/cygwin/Makefile.in
|
|
|
@ -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: |
|
|
|
|
|
|
|
@ -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) \
|
|
|
|
|