build-sys: Propagate verbosity into libdnf

I'm trying to debug a libdnf build issue with the rpm-injected
`export LDFLAGS='-Wl,-z,relro ...`
and it's very helpful to have `--disable-silent-rules` or `make V=1`
do the right thing automatically for CMake too.

Closes: #1520
Approved by: peterbaouoft
This commit is contained in:
Colin Walters 2018-08-27 13:15:50 -04:00 committed by Atomic Bot
parent 53a98445e2
commit c62058e548

View File

@ -20,7 +20,7 @@
# Recurse into libdnf
ALL_LOCAL_HOOKS += libdnf-local
libdnf-local:
cd libdnf-build && $(MAKE)
cd libdnf-build && $(MAKE) $(if $(subst 0,,$(V)),VERBOSE=1,)
ln -sf libdnf-build/libdnf/libdnf.so.1 .
libdnf.so.1: libdnf-local
CLEANFILES += libdnf.so.1