From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id B2E91396D804; Wed, 21 Oct 2020 17:19:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B2E91396D804 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jon TURNEY To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: Remove nostdlib Makefile variable X-Act-Checkin: newlib-cygwin X-Git-Author: Jon Turney X-Git-Refname: refs/heads/master X-Git-Oldrev: 74a164f1c162645f4389bbd9edb2f89a630853af X-Git-Newrev: 08f5cc2ef4ff56b98fefdd1d80152a3c5fef468c Message-Id: <20201021171900.B2E91396D804@sourceware.org> Date: Wed, 21 Oct 2020 17:19:00 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2020 17:19:00 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=08f5cc2ef4ff56b98fefdd1d80152a3c5fef468c commit 08f5cc2ef4ff56b98fefdd1d80152a3c5fef468c Author: Jon Turney 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) \