Skip to content

Commit cecc807

Browse files
committed
core: Speed up compilation
1 parent 8ff12ae commit cecc807

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ ifdef KEYMAP_SECTION_ENABLE
8181
endif
8282

8383
# Version string
84-
OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null)
84+
VERSION := $(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null)
85+
OPT_DEFS += -DVERSION=$(VERSION)
8586

8687

8788
# Search Path

0 commit comments

Comments
 (0)