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>
This commit is contained in:
parent
7ae91f3b56
commit
4aeba49016
|
@ -640,7 +640,7 @@ $(PRE_DLL_NAME): $(LDSCRIPT) dllfixdbg libdll.a $(VERSION_OFILES) $(LIBSERVER)\
|
||||||
-lgcc -lkernel32 -lntdll -Wl,-Map,cygwin.map
|
-lgcc -lkernel32 -lntdll -Wl,-Map,cygwin.map
|
||||||
|
|
||||||
$(DBG_DLL_NAME) $(NEW_DLL_NAME): $(PRE_DLL_NAME)
|
$(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
|
# cygwin import library
|
||||||
toolopts=--cpu=@target_cpu@ --ar=@AR@ --as=@AS@ --nm=@NM@ --objcopy=@OBJCOPY@
|
toolopts=--cpu=@target_cpu@ --ar=@AR@ --as=@AS@ --nm=@NM@ --objcopy=@OBJCOPY@
|
||||||
|
|
|
@ -67,7 +67,7 @@ sub align {
|
||||||
|
|
||||||
sub xit($@) {
|
sub xit($@) {
|
||||||
my $execit = shift;
|
my $execit = shift;
|
||||||
#print "+ @_\n";
|
print "+ @_\n" if ($verbose);
|
||||||
if ($execit) {
|
if ($execit) {
|
||||||
exec @_ or die "$0: couldn't exec $_[0] - $!\n";
|
exec @_ or die "$0: couldn't exec $_[0] - $!\n";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue