summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Tibbitts <j@tib.bs>2019-07-31 20:16:07 -0500
committerPanu Matilainen <pmatilai@redhat.com>2019-08-28 12:16:52 +0300
commit81b1db59f5fada4d726844977618bbfac4175d58 (patch)
tree076b5528cdacf21c527e3b94b5e428d9af25e7e0
parent307d608e98f78bfe17e79c53fcde56ba8917728f (diff)
downloadrpm-81b1db59f5fada4d726844977618bbfac4175d58.tar.gz
Split verbose make flags to a separate macro
Adding V=1 is known to break at least one upstream Makefile, so move the verbosity options to a separate macro to simplify the workaround. (cherry picked from commit c7e0b61c05878868300653d5892425c6c41fdba0)
-rw-r--r--macros.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index 3cdcca385..633d5ca6e 100644
--- a/macros.in
+++ b/macros.in
@@ -1072,8 +1072,12 @@ package or when debugging this package.\
%_make_output_sync %(! %{__make} --version -O >/dev/null 2>&1 || echo -O)
#------------------------------------------------------------------------------
+# Verbosity options passed to make
+%_make_verbose V=1 VERBOSE=1
+
+#------------------------------------------------------------------------------
# The "make" analogue, hiding the _smp_mflags magic from specs
-%make_build %{__make} %{_make_output_sync} %{?_smp_mflags} V=1 VERBOSE=1
+%make_build %{__make} %{_make_output_sync} %{?_smp_mflags} %{_make_verbose}
#------------------------------------------------------------------------------
# The make install analogue of %configure for modern autotools: