public inbox for
help / color / mirror / Atom feed
From: Ken Brown <>
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: <> (raw);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:

 winsup/utils/mingw/ | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/winsup/utils/mingw/ b/winsup/utils/mingw/
index c06562d9b..46d821313 100644
--- a/winsup/utils/mingw/
+++ b/winsup/utils/mingw/
@@ -18,6 +18,8 @@ include $(top_srcdir)/
 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:

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

  git send-email \ \ \ \

* 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).