From 3f4fa7fc3a9a0226079d2a463e9fb1f9aaa90fae Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 16 Jul 2022 02:53:27 +0300 Subject: [PATCH] switch: define HAVE_LIBNX somehow assumed it was done already --- Makefile.libretro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index e17f2960..0a1734bb 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -193,7 +193,7 @@ else ifeq ($(platform), libnx) 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 += -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 -- 2.39.5