public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: statically link the tools in winsup/utils/mingw
@ 2021-09-18  1:49 Ken Brown
  0 siblings, 0 replies; only message in thread
From: Ken Brown @ 2021-09-18  1:49 UTC (permalink / raw)
  To: cygwin-cvs

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 \


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-18  1:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-18  1:49 [newlib-cygwin] Cygwin: statically link the tools in winsup/utils/mingw Ken Brown

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