From 677db6759b188bdd1130df0e13578299c8de4d27 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 10 Aug 2011 05:36:25 -0400 Subject: [PATCH] Globally disable silent rules --- ...add-disable-silent-rules-to-configur.patch | 34 +++++++++++++++++++ redhat-rpm-config.spec | 7 +++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 0001-macros-Globally-add-disable-silent-rules-to-configur.patch diff --git a/0001-macros-Globally-add-disable-silent-rules-to-configur.patch b/0001-macros-Globally-add-disable-silent-rules-to-configur.patch new file mode 100644 index 0000000..6ed4da2 --- /dev/null +++ b/0001-macros-Globally-add-disable-silent-rules-to-configur.patch @@ -0,0 +1,34 @@ +From d24d382c325c8794c05bcb56b3820b15e4a67e55 Mon Sep 17 00:00:00 2001 +From: Colin Walters +Date: Tue, 9 Aug 2011 10:42:06 -0400 +Subject: [PATCH] macros: Globally add --disable-silent-rules to configure + +Various projects have been adding AM_SILENT_RULES from Automake to +their Makefiles for "developer convenience"; the goal being that they +see warnings more easily. + +Now really the right way to do this is to have a make wrapper (or an IDE) +that knows how to filter out warnings, but let's leave that aside for now. + +But for debugging builds, we really need the full log data. Being +able to see exactly how e.g. libtool is being run helps a lot for +debugging link problems as an example. +--- + macros | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/macros b/macros +index d7bf415..237e1f4 100644 +--- a/macros ++++ b/macros +@@ -35,6 +35,7 @@ + %{_configure} --build=%{_build} --host=%{_host} \\\ + --program-prefix=%{?_program_prefix} \\\ + --disable-dependency-tracking \\\ ++ --disable-silent-rules \\\ + --prefix=%{_prefix} \\\ + --exec-prefix=%{_exec_prefix} \\\ + --bindir=%{_bindir} \\\ +-- +1.7.6 + diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index a9ef931..c2c0d55 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -1,7 +1,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config Version: 9.1.0 -Release: 15%{?dist} +Release: 16%{?dist} # No version specified. License: GPL+ Group: Development/System @@ -28,6 +28,7 @@ Patch4: redhat-rpm-config-9.1.0-arches-macros.patch Patch5: redhat-rpm-config-9.1.0-arm.patch Patch6: redhat-rpm-config-9.1.0-relro.patch Patch7: redhat-rpm-config-9.1.0-hardened.patch +Patch8: 0001-macros-Globally-add-disable-silent-rules-to-configur.patch BuildArch: noarch Requires: mktemp Requires: rpm >= 4.6.0 @@ -46,6 +47,7 @@ Red Hat specific rpm configuration files. %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build @@ -67,6 +69,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_sysconfdir}/rpm/* %changelog +* Wed Aug 10 2011 Colin Walters - 9.1.0-16 +- Globally disable silent rules + * Wed Aug 03 2011 Adam Jackson 9.1.0-15 - redhat-hardened-{cc1,ld}: Move some of the rewrite magic to gcc specs so we don't end up with both -fPIC and -fPIE on the command line