public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Cygwin: Remove nostdlib Makefile variable
Date: Wed, 21 Oct 2020 17:19:00 +0000 (GMT)	[thread overview]
Message-ID: <20201021171900.B2E91396D804@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=08f5cc2ef4ff56b98fefdd1d80152a3c5fef468c

commit 08f5cc2ef4ff56b98fefdd1d80152a3c5fef468c
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sat Oct 3 21:39:40 2020 +0100

    Cygwin: Remove nostdlib Makefile variable
    
    It's used in one place, and it's value is unconditional.

Diff:
---
 winsup/Makefile.common    | 2 --
 winsup/cygwin/Makefile.in | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index 69cac9b43..3141bd111 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -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:
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 70e38ead6..a4c9c4786 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -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) \


                 reply	other threads:[~2020-10-21 17:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201021171900.B2E91396D804@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).