From 035ae7d735ad89ef837c89e48af90584b2b04acf Mon Sep 17 00:00:00 2001 From: Christian Jullien Date: Fri, 9 Apr 2021 14:21:36 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20Makefile=20as=20suggested=20by=20Urs=20Ja?= =?UTF-8?q?n=C3=9Fen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b4c9aa00..9d0bc3b1 100644 --- a/Makefile +++ b/Makefile @@ -225,7 +225,7 @@ endif TCC_GIT_HASH=$(shell git rev-parse > /dev/null 2>&1 && git rev-parse --short HEAD || echo no) ifneq ($(TCC_GIT_HASH),no) MODIFIED = $(shell git diff | grep --quiet +++ && echo "modified ") -$(X)tcc.o : DEFINES += += -DTCC_GIT_HASH="\"$(MODIFIED)$(TCC_GIT_HASH)\"" +$(X)tcc.o : DEFINES += -DTCC_GIT_HASH="\"$(MODIFIED)$(TCC_GIT_HASH)\"" endif ifeq ($(CONFIG_debug),yes)