libretro, more build fixes

This commit is contained in:
kub 2023-06-04 12:22:26 +00:00
parent ab43a4b2fd
commit 12d506baa8
3 changed files with 22 additions and 24 deletions

View file

@ -74,7 +74,7 @@ endif
# revision info from repository if this not a tagged release
ifeq "$(shell git describe --tags --exact-match HEAD 2>/dev/null)" ""
GIT_REVISION ?= -$(shell git rev-parse --short HEAD || echo ???)
GIT_REVISION ?= -$(shell git rev-parse --short HEAD || echo unknown)
endif
CFLAGS += -DREVISION=\"$(GIT_REVISION)\"