input changes part4
[pcsx_rearmed.git] / Makefile.libretro
index 4535598..831964f 100644 (file)
@@ -104,7 +104,7 @@ ifneq (,$(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h | grep 'HAVE_NEON3
        BUILTIN_GPU = neon
 endif
 endif
-ifneq (,$(findstring $(ARCH_DETECTED),i686 x86_64 aarch64))
+ifneq (,$(findstring $(ARCH_DETECTED),i686 x86_64 arm64 aarch64))
        BUILTIN_GPU = neon
 endif
 
@@ -268,7 +268,7 @@ else ifeq ($(platform), psl1ght)
        NO_PTHREAD := 1
        LIBPTHREAD :=
        LIBDL :=
-       DYNAREC := 0 # missing sysconf()
+       NEED_SYSCONF := 1
 
 # PSP
 else ifeq ($(platform), psp1)
@@ -330,10 +330,10 @@ else ifneq (,$(filter $(platform),ngc wii wiiu))
        TARGET := $(TARGET_NAME)_libretro_$(platform).a
        ifeq ($(platform), ngc)
                CFLAGS += -DHW_DOL -mogc
-               DYNAREC := 0 # missing sysconf()
+               NEED_SYSCONF := 1
        else ifeq ($(platform), wii)
                CFLAGS += -DHW_RVL -mrvl
-               DYNAREC := 0 # missing sysconf()
+               NEED_SYSCONF := 1
        else ifeq ($(platform), wiiu)
                # -mwup was removed in newer devkitPPC versions
                CFLAGS += -DHW_WUP
@@ -541,6 +541,7 @@ else ifeq ($(platform), emscripten)
    fpic    := -fPIC
    SHARED  := -shared -Wl,--no-undefined -Wl,--version-script=link.T
    CFLAGS += -DNO_DYLIB
+   DYNAREC =
    STATIC_LINKING = 1
 
 # Windows