]> sourceware.org Git - newlib-cygwin.git/commitdiff
Cygwin: dllfixdbg: honor Makefile verbositiy flag "V"
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 3 Feb 2022 15:21:13 +0000 (16:21 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 3 Feb 2022 15:22:46 +0000 (16:22 +0100)
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>
winsup/cygwin/Makefile.am
winsup/cygwin/dllfixdbg

index 265b6bf6945bd5ebf42a41996f5d6437f10f87aa..6d2e9800d667cfdd4a972ef2ef047cfe6881c67b 100644 (file)
@@ -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@
index e9e35aed1396b503736313e5778b4ec7f9fe4b77..87adec954556528337a532c8460b7c40f561eeaf 100755 (executable)
@@ -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 {
This page took 0.036525 seconds and 5 git commands to generate.