History

Add 'modified' before hash when tcc is built from a patched mob version.

Christian Jullien committed 5 years ago

Commit affd7361 parent f68b39b1 file · +2 −1Browse files

Unified · Split

Makefile+2−1
@@ -27,7 +27,8 @@ VPATH = $(TOPSRC) · 26 unmodified lines
27TCC_GIT_HASH=$(shell git rev-parse > /dev/null 2>&1 && git rev-parse --short HEAD || echo no)27TCC_GIT_HASH=$(shell git rev-parse > /dev/null 2>&1 && git rev-parse --short HEAD || echo no)
28 28
29ifneq ($(TCC_GIT_HASH),no)29ifneq ($(TCC_GIT_HASH),no)
30 CFLAGS += -DTCC_GIT_HASH="\"$(TCC_GIT_HASH)\""30 MODIFIED = $(shell git diff | grep --quiet +++ && echo "modified ")
31 CFLAGS += -DTCC_GIT_HASH="\"$(MODIFIED)$(TCC_GIT_HASH)\""
31endif32endif
32 33
33ifdef CONFIG_WIN3234ifdef CONFIG_WIN32

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t