Skip to content

Commit

Permalink
Add git_version switch - to disable Git version, do
Browse files Browse the repository at this point in the history
./configure --disable-git_version
  • Loading branch information
inactive123 committed Nov 2, 2020
1 parent 00e840e commit c9b7122
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.common
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions qb/config.params.sh
Expand Up @@ -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

0 comments on commit c9b7122

Please sign in to comment.