notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #644 from pcercuei/update-lightrec-20220409
[pcsx_rearmed.git]
/
Makefile.libretro
diff --git
a/Makefile.libretro
b/Makefile.libretro
index
4c60462
..
066da82
100644
(file)
--- a/
Makefile.libretro
+++ b/
Makefile.libretro
@@
-66,6
+66,7
@@
else ifneq (,$(findstring CortexA73_G12B,$(platform)))
fpic := -fPIC
SHARED := -shared -Wl,-version-script=link.T
ARCH = arm64
fpic := -fPIC
SHARED := -shared -Wl,-version-script=link.T
ARCH = arm64
+ DYNAREC ?= ari64
CFLAGS += -fomit-frame-pointer -ffast-math -DARM
CPUFLAGS += -march=armv8-a+crc -mfpu=neon-fp-armv8 -mcpu=cortex-a73 -mtune=cortex-a73.cortex-a53
CFLAGS += -fomit-frame-pointer -ffast-math -DARM
CPUFLAGS += -march=armv8-a+crc -mfpu=neon-fp-armv8 -mcpu=cortex-a73 -mtune=cortex-a73.cortex-a53
@@
-198,6
+199,7
@@
else ifeq ($(platform), libnx)
else ifeq ($(platform), arm64)
TARGET := $(TARGET_NAME)_libretro.so
ARCH := arm64
else ifeq ($(platform), arm64)
TARGET := $(TARGET_NAME)_libretro.so
ARCH := arm64
+ DYNAREC = ari64
BUILTIN_GPU = unai
fpic := -fPIC
CFLAGS := $(filter-out -O2, $(CFLAGS))
BUILTIN_GPU = unai
fpic := -fPIC
CFLAGS := $(filter-out -O2, $(CFLAGS))
@@
-501,6
+503,9
@@
endif
ifeq ($(NO_UNDEF_CHECK)$(shell ld -v 2> /dev/null | awk '{print $$1}'),GNU)
MAIN_LDFLAGS += -Wl,--no-undefined
endif
ifeq ($(NO_UNDEF_CHECK)$(shell ld -v 2> /dev/null | awk '{print $$1}'),GNU)
MAIN_LDFLAGS += -Wl,--no-undefined
endif
+ifdef ALLOW_LIGHTREC_ON_ARM
+CFLAGS += -DALLOW_LIGHTREC_ON_ARM
+endif
TARGET ?= libretro.so
PLATFORM = libretro
TARGET ?= libretro.so
PLATFORM = libretro