libretro, more build fixes

This commit is contained in:
kub 2023-06-04 12:22:26 +00:00
parent ab43a4b2fd
commit 12d506baa8
3 changed files with 22 additions and 24 deletions

View file

@ -70,10 +70,8 @@ SOURCES_C := $(LIBRETRO_DIR)/libretro.c \
COREFLAGS := $(addprefix -D,$(DEFINES)) -fno-strict-aliasing -DUSE_LIBCHDR=1 -D_7ZIP_ST -I$(CORE_DIR)/pico/cd/libchdr/include -I$(CORE_DIR)/pico/cd/libchdr/deps/lzma-19.00/include
GIT_VERSION := $(shell git rev-parse --short HEAD || echo unknown)
ifneq ($(GIT_VERSION),"unknown")
COREFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif
GIT_REVISION := $(shell git rev-parse --short HEAD || echo unknown)
COREFLAGS += -DREVISION=\"$(GIT_REVISION)\"
ifneq ($(filter armeabi%, $(TARGET_ARCH_ABI)),)
$(CORE_DIR)/pico/pico_int_offs.h: