better git revision fallback

This commit is contained in:
Eric House 2017-11-01 06:12:04 -07:00
parent 220918e5cd
commit 66d6240ece

View file

@ -42,7 +42,7 @@ SRC = \
# STATIC ?= -static
GITINFO = gitversion.txt
HASH=$(shell git describe)
HASH=$(shell git rev-parse --verify HEAD)
OBJ = $(patsubst %.cpp,obj/%.o,$(SRC))
#LDFLAGS += -pthread -g -lmcheck $(STATIC)