From 49918aab7faf33ec1eda0edcfcbf01e31a816985 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 28 Oct 2023 00:08:51 +0300 Subject: [PATCH] try to workaround some libretro builds lacking version --- Makefile.libretro | 6 ++++++ 1 file changed, 6 insertions(+) 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)" -- 2.39.5