Makefile: Fix to print CFLAGS with "make V=0"

The default "make" would be quite quiet, but still conveniently print
the CFLAGS. The explicit "make V=0" was intended to be identical, (only
not printing the message about V=1 but was broken in that it left the
CFLAGS off). Fix this.
This commit is contained in:
Carl Worth 2010-03-31 23:32:35 -07:00
parent 8c671a17c0
commit e7131a5983

View file

@ -42,7 +42,7 @@ quiet = @printf $(quiet_DOC)$(eval quiet_DOC:=)" $1 $2 $@\n"; $($1)
endif
# The user has explicitly enabled quiet compilation.
ifeq ($(V),0)
quiet = @printf " $1 $@\n"; $($1)
quiet = @printf " $1 $2 $@\n"; $($1)
endif
# Otherwise, print the full command line.
quiet ?= $($1)