Add git_version switch - to disable Git version, do
./configure --disable-git_version
This commit is contained in:
parent
00e840e99d
commit
c9b7122a08
|
@ -156,8 +156,8 @@ endif
|
|||
ifeq ($(TARGET), retroarch_3ds)
|
||||
OBJ += frontend/drivers/platform_ctr.o
|
||||
endif
|
||||
|
||||
# Git Version
|
||||
ifeq ($(HAVE_GIT_VERSION), 1)
|
||||
GIT_VERSION_CACHEDIR = $(if $(OBJDIR),$(OBJDIR),$(CURDIR))
|
||||
GIT_VERSION_CACHEFILE = $(GIT_VERSION_CACHEDIR)/git-version.cache
|
||||
|
||||
|
@ -185,6 +185,7 @@ ifneq ($(GIT_VERSION),) # Enable version_git.o?
|
|||
DEFINES += -DHAVE_GIT_VERSION -DGIT_VERSION=$(GIT_VERSION)
|
||||
OBJ += version_git.o
|
||||
endif
|
||||
endif
|
||||
|
||||
# General object files
|
||||
ifeq ($(HAVE_DR_MP3), 1)
|
||||
|
|
|
@ -187,3 +187,4 @@ C89_METAL=no
|
|||
HAVE_NETWORK_VIDEO=no
|
||||
HAVE_STEAM=no # Enable Steam build
|
||||
HAVE_ODROIDGO2=no # ODROID-GO Advance rotation support (requires librga)
|
||||
HAVE_GIT_VERSION=yes # Git version support
|
||||
|
|
Loading…
Reference in New Issue