diff options
author | Tim Harder <radhermit@gmail.com> | 2017-01-24 13:33:23 -0500 |
---|---|---|
committer | dx <dx@dxzone.com.ar> | 2017-03-12 01:16:58 -0300 |
commit | 08b0ed8334fb32872f7a60e3b637db30ef9c50ef (patch) | |
tree | fd9f64c15870166b24d8f4bda46ac79f4482a038 | |
parent | 65d0dfdefa1e7813a1cb14ce3ae6fae163d4caf5 (diff) |
configure: respect autotools-like verbose flags for make
In other words, running $(make V=1) will force a verbose build while
$(make V=0) will force a silent build regardless of the verbose option
set by the configure script.
-rwxr-xr-x | configure | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -291,6 +291,19 @@ else echo 'VERBOSE=' >> Makefile.settings fi +cat <<EOF >>Makefile.settings + +# Enable/disable output verbosity +ifdef V +ifeq (\$(V),1) + VERBOSE= +else + VERBOSE=@ +endif +endif + +EOF + if [ "$debug" = "1" ]; then echo 'DEBUG=1' >> Makefile.settings CFLAGS="$CFLAGS -g3 -DDEBUG -O0" |