summaryrefslogtreecommitdiff
path: root/libasm
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2015-10-05 11:04:15 -0700
committerJosh Stone <jistone@redhat.com>2015-10-06 17:50:10 -0700
commitdaee4714ee3761e2d92f764a724e83875a79a3f0 (patch)
tree9c6bab2d7253ea23706f665bd9bf4da0b2b02988 /libasm
parent0e3ce39c8f154cb7df7f3a9bf29d347fe9cca036 (diff)
downloadelfutils-daee4714ee3761e2d92f764a724e83875a79a3f0.tar.gz
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 <jistone@redhat.com>
Diffstat (limited to 'libasm')
-rw-r--r--libasm/ChangeLog4
-rw-r--r--libasm/Makefile.am4
2 files changed, 6 insertions, 2 deletions
diff --git a/libasm/ChangeLog b/libasm/ChangeLog
index 7433cb72..beb6211c 100644
--- a/libasm/ChangeLog
+++ b/libasm/ChangeLog
@@ -1,3 +1,7 @@
+2015-10-05 Josh Stone <jistone@redhat.com>
+
+ * Makefile.am (libasm.so): Add AM_V_CCLD and AM_V_at silencers.
+
2015-09-23 Mark Wielaard <mjw@redhat.com>
* asm_align.c (__libasm_ensure_section_space): Mark as
diff --git a/libasm/Makefile.am b/libasm/Makefile.am
index 6ea2a8e8..a4bf293a 100644
--- a/libasm/Makefile.am
+++ b/libasm/Makefile.am
@@ -62,12 +62,12 @@ endif
libasm_so_SOURCES =
libasm.so$(EXEEXT): libasm_pic.a libasm.map
- $(LINK) -shared -o $@ -Wl,--whole-archive,$<,--no-whole-archive \
+ $(AM_V_CCLD)$(LINK) -shared -o $@ -Wl,--whole-archive,$<,--no-whole-archive \
-Wl,--version-script,$(srcdir)/libasm.map,--no-undefined \
-Wl,--soname,$@.$(VERSION) \
../libebl/libebl.a ../libelf/libelf.so $(libasm_so_LDLIBS)
@$(textrel_check)
- ln -fs $@ $@.$(VERSION)
+ $(AM_V_at)ln -fs $@ $@.$(VERSION)
install: install-am libasm.so
$(mkinstalldirs) $(DESTDIR)$(libdir)