From: Ævar Arnfjörð Bjarmason Date: Fri, 22 Feb 2019 14:41:23 +0000 (+0100) Subject: Makefile: move "strip" assignment down from flags X-Git-Tag: v2.22.0-rc0~144^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9559f8ffb57ddf9ab3ec64b52aea1d9a645efba7;p=thirdparty%2Fgit.git Makefile: move "strip" assignment down from flags Move the assignment of the "STRIP" variable down to where we're setting variables with the names of other programs. For consistency with those use "=" for the assignment instead of "?=". I can't imagine why this would need to be different than the rest, and 4dc00021f7 ("Makefile: add 'strip' target", 2006-01-12) which added it doesn't provide an explanation. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 97e922cc41..c53727e44b 100644 --- a/Makefile +++ b/Makefile @@ -512,7 +512,6 @@ CFLAGS = -g -O2 -Wall LDFLAGS = ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS) ALL_LDFLAGS = $(LDFLAGS) -STRIP ?= strip # Create as necessary, replace existing, make ranlib unneeded. ARFLAGS = rcs @@ -576,6 +575,7 @@ CURL_CONFIG = curl-config PTHREAD_LIBS = -lpthread PTHREAD_CFLAGS = GCOV = gcov +STRIP = strip SPATCH = spatch export TCL_PATH TCLTK_PATH