From: Bernhard Voelker Date: Wed, 8 Mar 2017 05:29:00 +0000 (-0800) Subject: build: avoid redundant build of tr with --enable-single-binary X-Git-Tag: v8.27~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dc540ed7ac60c756f4db8b78ac244d91eeb4f6b;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/src/local.mk b/src/local.mk index 84df09916d..9b2b172d26 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.