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 <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Feb 22, 2019 at 15:41 UTC
9559f8ffb57ddf9ab3ec64b52aea1d9a645efba7
1 file changed
+1
-1
Makefile
+1
-1
@@ -512,7 +512,6 @@ CFLAGS = -g -O2 -Wall
512
LDFLAGS =
513
ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS)
514
ALL_LDFLAGS = $(LDFLAGS)
515
-STRIP ?= strip
515
516
# Create as necessary, replace existing, make ranlib unneeded.
517
ARFLAGS = rcs
@@ -576,6 +575,7 @@ CURL_CONFIG = curl-config
575
PTHREAD_LIBS = -lpthread
576
PTHREAD_CFLAGS =
577
GCOV = gcov
578
+STRIP = strip
579
SPATCH = spatch
580
581
export TCL_PATH TCLTK_PATH