Skip to content

Commit 33e2884

Browse files
author
orbea
committed
Allow setting GIT_VERSION
1 parent 78a8a74 commit 33e2884

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ LDFLAGSEMULATOR =
9292

9393
CCOMFLAGS += -D__LIBRETRO__
9494

95-
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
95+
GIT_VERSION ?= " $(shell git rev-parse --short HEAD || echo unknown)"
9696
ifneq ($(GIT_VERSION)," unknown")
9797
CCOMFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
9898
endif

0 commit comments

Comments
 (0)