From: notaz Date: Mon, 20 Nov 2023 21:03:59 +0000 (+0200) Subject: make: don't enable neon for all ARMs X-Git-Tag: r24l~58 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2b025820999244fbb3719530a654732643e6036;p=pcsx_rearmed.git 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. --- 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