From 2cf8d379907700d6c355fb80d66361dfa7669515 Mon Sep 17 00:00:00 2001 From: Hugo Hromic Date: Thu, 21 Mar 2019 11:12:32 +0000 Subject: Do not leave HAVE_NEON unset in armv platform check * Default to `HAVE_NEON=0` until the `platform` is checked for `neon` * Fixes build with `platform=armv` alone (no NEON requested) in a NEON device where the autodetection using `$(CC) -E -dD` will enable it --- Makefile.libretro | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.libretro') diff --git a/Makefile.libretro b/Makefile.libretro index 8899ed7..3034cdf 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -285,7 +285,9 @@ else ifeq ($(platform), classic_armv7_a7) else ifneq (,$(findstring armv,$(platform))) TARGET := $(TARGET_NAME)_libretro.so fpic := -fPIC + HAVE_NEON = 0 DRC_CACHE_BASE = 0 + BUILTIN_GPU = peops ifneq (,$(findstring cortexa8,$(platform))) CFLAGS += -marm -mcpu=cortex-a8 ASFLAGS += -mcpu=cortex-a8 -- cgit v1.2.3