X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.libretro;h=0a1734bb88e2a1f07bd67027659241a197cac634;hb=9775fc330a05a1fe0bf61c3cc6d1ee1cf3d27df8;hp=3edda6489b5799b91cabca9117ea3080259a85e2;hpb=a093e81fbfc1c588b091656844b26684ec3dc01d;p=pcsx_rearmed.git diff --git a/Makefile.libretro b/Makefile.libretro index 3edda648..0a1734bb 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -72,7 +72,7 @@ else ifneq (,$(findstring CortexA73_G12B,$(platform))) fpic := -fPIC SHARED := -shared -Wl,-version-script=link.T ARCH = arm64 - DYNAREC ?= ari64 + 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 @@ -82,7 +82,7 @@ else ifneq (,$(findstring h5,$(platform))) fpic := -fPIC SHARED := -shared -Wl,-version-script=link.T ARCH = arm64 - DYNAREC ?= ari64 + DYNAREC = ari64 CFLAGS += -fomit-frame-pointer -ffast-math -DARM CPUFLAGS += -march=armv8-a+crc -mfpu=neon-fp-armv8 -mcpu=cortex-a53 -mtune=cortex-a53 @@ -191,16 +191,15 @@ else ifeq ($(platform), libnx) ARCH := arm64 BUILTIN_GPU = unai HAVE_VFS_FD = 0 - CFLAGS += -O3 -fomit-frame-pointer -ffast-math -I$(DEVKITPRO)/libnx/include/ -fPIE -Wl,--allow-multiple-definition -include $(LIBNX)/include/switch.h + CFLAGS += -O3 -fomit-frame-pointer -ffast-math -I$(DEVKITPRO)/libnx/include/ -fPIE -Wl,--allow-multiple-definition # -include $(LIBNX)/include/switch.h CFLAGS += -specs=$(DEVKITPRO)/libnx/switch.specs -DNO_OS -DNO_DYLIB -DNO_SOCKET -D__arm64__ -D__ARM_NEON__ - CFLAGS += -D__SWITCH__ + CFLAGS += -D__SWITCH__ -DHAVE_LIBNX CFLAGS += -DARM -D__aarch64__=1 -march=armv8-a -mtune=cortex-a57 -mtp=soft -DHAVE_INTTYPES -DLSB_FIRST -ffast-math -mcpu=cortex-a57+crc+fp+simd -ffunction-sections CFLAGS += -ftree-vectorize CFLAGS += -Ifrontend/switch -ftree-vectorize LIBPTHREAD := STATIC_LINKING=1 - # Lightning requires rw/rx patches first - DYNAREC := 0 + DYNAREC = ari64 # Lakka Switch (arm64) else ifeq ($(platform), arm64)