Fix Makefile as suggested by Urs Janßen
This commit is contained in:
parent
48df89e10e
commit
035ae7d735
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -225,7 +225,7 @@ endif
|
||||||
TCC_GIT_HASH=$(shell git rev-parse > /dev/null 2>&1 && git rev-parse --short HEAD || echo no)
|
TCC_GIT_HASH=$(shell git rev-parse > /dev/null 2>&1 && git rev-parse --short HEAD || echo no)
|
||||||
ifneq ($(TCC_GIT_HASH),no)
|
ifneq ($(TCC_GIT_HASH),no)
|
||||||
MODIFIED = $(shell git diff | grep --quiet +++ && echo "modified ")
|
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
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_debug),yes)
|
ifeq ($(CONFIG_debug),yes)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue