From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2210) id 92CB93858D34; Sat, 18 Sep 2021 01:49:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 92CB93858D34 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Ken Brown To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: statically link the tools in winsup/utils/mingw X-Act-Checkin: newlib-cygwin X-Git-Author: Ken Brown X-Git-Refname: refs/heads/master X-Git-Oldrev: 98859e00d0037dd8d98b2edcfac57eb6f6a46e4c X-Git-Newrev: 9b0841aa789e74b6778744b89af76b60bd1a78bc Message-Id: <20210918014910.92CB93858D34@sourceware.org> Date: Sat, 18 Sep 2021 01:49:10 +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: Sat, 18 Sep 2021 01:49:10 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9b0841aa789e74b6778744b89af76b60bd1a78bc commit 9b0841aa789e74b6778744b89af76b60bd1a78bc Author: Ken Brown Date: Fri Sep 17 21:38:07 2021 -0400 Cygwin: statically link the tools in winsup/utils/mingw This fixes the problem reported here: https://cygwin.com/pipermail/cygwin-developers/2021-September/012375.html Diff: --- winsup/utils/mingw/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/utils/mingw/Makefile.am b/winsup/utils/mingw/Makefile.am index c06562d9b..46d821313 100644 --- a/winsup/utils/mingw/Makefile.am +++ b/winsup/utils/mingw/Makefile.am @@ -18,6 +18,8 @@ include $(top_srcdir)/Makefile.am.common CFLAGS_COMMON=-Wimplicit-fallthrough=4 -Werror -D_WIN32_WINNT=0x0a00 -DNTDDI_VERSION=WDK_NTDDI_VERSION AM_CXXFLAGS=-fno-exceptions -fno-rtti -fno-use-cxa-atexit $(flags_common) $(CFLAGS_COMMON) +AM_LDFLAGS = -static + bin_PROGRAMS = \ cygcheck \ cygwin-console-helper \