From: notaz Date: Fri, 15 Jul 2022 23:53:27 +0000 (+0300) Subject: switch: define HAVE_LIBNX X-Git-Tag: r24l~446 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f4fa7fc3a9a0226079d2a463e9fb1f9aaa90fae;p=pcsx_rearmed.git switch: define HAVE_LIBNX somehow assumed it was done already --- 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