mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-24 10:00:07 +08:00
Test was inverted for locally modified version
This commit is contained in:
parent
bdaccc2898
commit
ffbf6c26b2
2
Makefile
2
Makefile
@ -245,7 +245,7 @@ FROM_GIT := $(shell git rev-parse >/dev/null 2>&1 && echo yes || echo no)
|
||||
|
||||
ifeq ($(FROM_GIT),yes)
|
||||
GITHASH:=$(shell git rev-parse --abbrev-ref HEAD):$(shell git rev-parse --short HEAD) $(shell git log -1 --pretty='format:%cI')
|
||||
GITLOCAL:=$(shell git diff --quiet && echo ' locally modified')
|
||||
GITLOCAL:=$(shell git diff --quiet || echo ' locally modified')
|
||||
DEF_GITHASH:= -DTCC_GITHASH="\"$(GITHASH)$(GITLOCAL)\""
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user