Commit 48173678 authored by raidenii's avatar raidenii
Browse files

fix git version flag

parent b0b402d5
......@@ -3,7 +3,7 @@ WANT_ZIP=0
TARGET_NAME := race
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown")
CXXFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
FLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif
ifeq ($(platform),)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment