summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJosh Stone <[email protected]>2015-10-05 11:04:15 -0700
committerJosh Stone <[email protected]>2015-10-06 17:50:10 -0700
commitdaee4714ee3761e2d92f764a724e83875a79a3f0 (patch)
tree9c6bab2d7253ea23706f665bd9bf4da0b2b02988 /config
parent0e3ce39c8f154cb7df7f3a9bf29d347fe9cca036 (diff)
Improve AM_SILENT_RULES coverage
Note, elfutils does not explicitly enable AM_SILENT_RULES. It's only available starting from automake 1.11, but starting from automake 1.13 silent rules are always generated, defaulting to verbose. $(AM_V_foo) additions should be no-ops on systems that don't support silent rules. To be silent, use "./configure --enable-silent-rules" or "make V=0". Signed-off-by: Josh Stone <[email protected]>
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog4
-rw-r--r--config/eu.am4
2 files changed, 6 insertions, 2 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 1037b080..ba5cb387 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2015-10-05 Josh Stone <[email protected]>
+
+ * eu.am (%.os): Add AM_V_CC silencers.
+
2015-09-24 Jose E. Marchesi <[email protected]>
* eu.am (%.os): Use -fPIC instead of -fpic to avoid relocation
diff --git a/config/eu.am b/config/eu.am
index 1368ae53..6ad8f822 100644
--- a/config/eu.am
+++ b/config/eu.am
@@ -55,14 +55,14 @@ endif
%.os: %.c %.o
if AMDEP
- if $(COMPILE.os) -c -o $@ -fPIC $(DEFS.os) -MT $@ -MD -MP \
+ $(AM_V_CC)if $(COMPILE.os) -c -o $@ -fPIC $(DEFS.os) -MT $@ -MD -MP \
-MF "$(DEPDIR)/$*.Tpo" `test -f '$<' || echo '$(srcdir)/'`$<; \
then cat "$(DEPDIR)/$*.Tpo" >> "$(DEPDIR)/$*.Po"; \
rm -f "$(DEPDIR)/$*.Tpo"; \
else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
fi
else
- $(COMPILE.os) -c -o $@ -fPIC $(DEFS.os) $<
+ $(AM_V_CC)$(COMPILE.os) -c -o $@ -fPIC $(DEFS.os) $<
endif
CLEANFILES = *.gcno *.gcda