summaryrefslogtreecommitdiff
path: root/src/local.mk
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2017-03-07 21:29:00 -0800
committerPádraig Brady <P@draigBrady.com>2017-03-07 21:34:06 -0800
commit6dc540ed7ac60c756f4db8b78ac244d91eeb4f6b (patch)
treee495c8b13019ed7163a2df4384dae21f0927661c /src/local.mk
parent6fc3ef9e6fe62871ec3cdf25f35295fd35bf6fc7 (diff)
downloadcoreutils-6dc540ed7ac60c756f4db8b78ac244d91eeb4f6b.tar.gz
build: avoid redundant build of tr with --enable-single-binary
* src/local.mk [check-duplicate-no-install]: Depend on the single-binary tr, or the system tr, as the edge case where these are not available only result in the sanity check being effectively ignored.
Diffstat (limited to 'src/local.mk')
-rw-r--r--src/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local.mk b/src/local.mk
index 84df09916..9b2b172d2 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -644,7 +644,7 @@ check-README:
# entry, because if that were to happen, it *would* be installed
# by default.
.PHONY: check-duplicate-no-install
-check-duplicate-no-install: src/tr
+check-duplicate-no-install:
$(AM_V_GEN)test -z "`echo '$(EXTRA_PROGRAMS)' | tr ' ' '\n' | uniq -d`"
# Use the just-built 'ginstall', when not cross-compiling.