public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: dllfixdbg: honor Makefile verbositiy flag "V" Date: Thu, 3 Feb 2022 15:31:23 +0000 (GMT) [thread overview] Message-ID: <20220203153123.D4C8B3858407@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4aeba490165bc8585fb1d18037718406c0ec4d5b commit 4aeba490165bc8585fb1d18037718406c0ec4d5b Author: Corinna Vinschen <corinna@vinschen.de> Date: Thu Feb 3 16:21:13 2022 +0100 Cygwin: dllfixdbg: honor Makefile verbositiy flag "V" In Makefile.am, add the value of $(V) to the dllfixdbg call. In dllfixdbg, if V=1, print what the script is doing. Signed-off-by: Corinna Vinschen <corinna@vinschen.de> Diff: --- winsup/cygwin/Makefile.am | 2 +- winsup/cygwin/dllfixdbg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/Makefile.am b/winsup/cygwin/Makefile.am index 265b6bf69..6d2e9800d 100644 --- a/winsup/cygwin/Makefile.am +++ b/winsup/cygwin/Makefile.am @@ -640,7 +640,7 @@ $(PRE_DLL_NAME): $(LDSCRIPT) dllfixdbg libdll.a $(VERSION_OFILES) $(LIBSERVER)\ -lgcc -lkernel32 -lntdll -Wl,-Map,cygwin.map $(DBG_DLL_NAME) $(NEW_DLL_NAME): $(PRE_DLL_NAME) - $(AM_V_GEN)$(srcdir)/dllfixdbg $(OBJDUMP) $(OBJCOPY) $(PRE_DLL_NAME) $(DBG_DLL_NAME) $(NEW_DLL_NAME) + $(AM_V_GEN)$(srcdir)/dllfixdbg $(OBJDUMP) $(OBJCOPY) $(PRE_DLL_NAME) $(DBG_DLL_NAME) $(NEW_DLL_NAME) $(V) # cygwin import library toolopts=--cpu=@target_cpu@ --ar=@AR@ --as=@AS@ --nm=@NM@ --objcopy=@OBJCOPY@ diff --git a/winsup/cygwin/dllfixdbg b/winsup/cygwin/dllfixdbg index e9e35aed1..87adec954 100755 --- a/winsup/cygwin/dllfixdbg +++ b/winsup/cygwin/dllfixdbg @@ -67,7 +67,7 @@ sub align { sub xit($@) { my $execit = shift; - #print "+ @_\n"; + print "+ @_\n" if ($verbose); if ($execit) { exec @_ or die "$0: couldn't exec $_[0] - $!\n"; } else {
reply other threads:[~2022-02-03 15:31 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=20220203153123.D4C8B3858407@sourceware.org \ --to=corinna@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: linkBe 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).