public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Ken Brown <kbrown@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Cygwin: statically link the tools in winsup/utils/mingw
Date: Sat, 18 Sep 2021 01:49:10 +0000 (GMT)	[thread overview]
Message-ID: <20210918014910.92CB93858D34@sourceware.org> (raw)

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

commit 9b0841aa789e74b6778744b89af76b60bd1a78bc
Author: Ken Brown <kbrown@cornell.edu>
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 \


                 reply	other threads:[~2021-09-18  1:49 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=20210918014910.92CB93858D34@sourceware.org \
    --to=kbrown@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).