Surround hash code with double quotes

This commit is contained in:
Christian Jullien 2021-03-31 23:15:47 +02:00
parent 65d00b13d5
commit f68b39b922

View File

@ -27,7 +27,7 @@ VPATH = $(TOPSRC)
TCC_GIT_HASH=$(shell git rev-parse > /dev/null 2>&1 && git rev-parse --short HEAD || echo no)
ifneq ($(TCC_GIT_HASH),no)
CFLAGS += -DTCC_GIT_HASH=\"$(TCC_GIT_HASH)\"
CFLAGS += -DTCC_GIT_HASH="\"$(TCC_GIT_HASH)\""
endif
ifdef CONFIG_WIN32