notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5bd33f5
)
try to workaround some libretro builds lacking version
author
notaz
<notasas@gmail.com>
Fri, 27 Oct 2023 21:08:51 +0000
(
00:08
+0300)
committer
notaz
<notasas@gmail.com>
Fri, 27 Oct 2023 21:08:51 +0000
(
00:08
+0300)
Makefile.libretro
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.libretro
b/Makefile.libretro
index
8151180
..
9fe5365
100644
(file)
--- a/
Makefile.libretro
+++ b/
Makefile.libretro
@@
-75,6
+75,12
@@
else ifeq ($(platform), miyoo)
endif
CC_AS ?= $(CC)
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)"
TARGET_NAME := pcsx_rearmed
ARCH_DETECTED := $(shell $(CC) $(CFLAGS) -dumpmachine | awk -F- '{print $$1}')
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"