From e2b025820999244fbb3719530a654732643e6036 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 20 Nov 2023 23:03:59 +0200 Subject: [PATCH] make: don't enable neon for all ARMs joolswills commented on 4b2392bb: This breaks building on armv6 where ARCH_DETECTED is set to "arm" (which is a substring of arm64) so it matches, and BUILTIN_GPU is set to neon. --- Makefile.libretro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 9fe5365a..1169d892 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -111,7 +111,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 arm64 aarch64)) +ifneq (,$(filter $(ARCH_DETECTED),i686 x86_64 arm64 aarch64)) BUILTIN_GPU = neon endif -- 2.39.2