X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.libretro;h=069290cc5eb4fa2bb87922c04352a268a66d7c9b;hb=f3f18aba1a9b33521adcc17618bf37546cf0abcb;hp=cf8e08070314753abd66541972d4ac9f0f6cf5b8;hpb=657d141e82b111e6719f499677e035cb443df537;p=pcsx_rearmed.git diff --git a/Makefile.libretro b/Makefile.libretro index cf8e0807..069290cc 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -49,12 +49,12 @@ EXTRA_LDFLAGS = # select some defaults ifneq (,$(findstring $(ARCH_DETECTED),arm aarch64)) DYNAREC = ari64 -ifneq ($(findstring __thumb__,$(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h)),) +ifneq (,$(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h | grep 'define __thumb__')) # must disable thumb as ari64 can't handle it CFLAGS += -marm endif -ifneq ($(findstring __ARM_NEON,$(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h)),) - BUILTIN_GPU = neon +ifneq (,$(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h | grep 'HAVE_NEON32')) + BUILTIN_GPU = neon endif endif ifneq (,$(findstring $(ARCH_DETECTED),i686 x86_64 aarch64))