fix git version flag

This commit is contained in:
raidenii 2021-03-04 13:04:17 -05:00
parent b0b402d564
commit 48173678e1

View File

@ -3,7 +3,7 @@ WANT_ZIP=0
TARGET_NAME := race TARGET_NAME := race
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)" GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown") ifneq ($(GIT_VERSION)," unknown")
CXXFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\" FLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif endif
ifeq ($(platform),) ifeq ($(platform),)