X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.libretro;h=9fe5365acd52a2020a4e218551a52cd7bc0aa3f6;hb=5fa5979881167200ed31e33b1c353640cbd8b1f9;hp=8151180f48f799da7ca4c34eab30af1c696b2c59;hpb=81a5a2076b19c03cb596909ac417208752ca948a;p=pcsx_rearmed.git diff --git a/Makefile.libretro b/Makefile.libretro index 8151180f..9fe5365a 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -75,6 +75,12 @@ else ifeq ($(platform), miyoo) endif CC_AS ?= $(CC) +# workaround wrong owner in libretro infra +GIT_VERSION1 := $(shell test -d /builds/libretro/pcsx_rearmed && git rev-parse --short HEAD 2>&1) +ifneq ($(findstring dubious ownership,$(GIT_VERSION1)),) +DUMMY := $(shell git config --global --add safe.directory /builds/libretro/pcsx_rearmed) +endif + TARGET_NAME := pcsx_rearmed ARCH_DETECTED := $(shell $(CC) $(CFLAGS) -dumpmachine | awk -F- '{print $$1}') GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"