summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-06-21 16:50:11 +0200
committerKay Sievers <kay@vrfy.org>2014-06-21 16:50:11 +0200
commitaac5ad0d25adde34e73ae1e696834c91caa661c9 (patch)
treec2719d7ffd22c9a4408cbe4e3d4f8f487d62da3e /Makefile.am
parentgudev: replace regex with sym file (diff)
downloadsystemd-aac5ad0d25adde34e73ae1e696834c91caa661c9.tar.xz
systemd-aac5ad0d25adde34e73ae1e696834c91caa661c9.zip
build-sys: replace nm with $(NM)
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 3bf7cff8b0..c7653ea23c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5451,7 +5451,7 @@ valgrind-tests: $(TESTS)
done
exported-%: %
- $(AM_V_GEN)nm -g --defined-only $(builddir)/.libs/$(<:.la=.so) 2>&1 /dev/null | grep " T " | cut -d" " -f3 > $@
+ $(AM_V_GEN)$(NM) -g --defined-only $(builddir)/.libs/$(<:.la=.so) 2>&1 /dev/null | grep " T " | cut -d" " -f3 > $@
exported: $(addprefix exported-, $(lib_LTLIBRARIES))
$(AM_V_GEN)cat $^ > $@
@@ -5471,7 +5471,7 @@ ALL_OBJECTS:=$(foreach v,$(OBJECT_VARIABLES),$($(v)))
undefined defined: $(ALL_OBJECTS)
$(AM_V_GEN)for f in $(ALL_OBJECTS) ; do \
- nm -g --$@-only `echo $(builddir)/"$$f" | sed -e 's,\([^/]*\).lo$$,.libs/\1.o,'` ; \
+ $(NM) -g --$@-only `echo $(builddir)/"$$f" | sed -e 's,\([^/]*\).lo$$,.libs/\1.o,'` ; \
done | cut -c 20- | cut -d @ -f 1 | sort -u > $@
CLEANFILES += \