From b4f2c7d997002478d75fa97b7c5f3b14dad8b562 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 16 Sep 2022 23:30:05 +0300 Subject: [PATCH] try to fix build --- Makefile.libretro | 4 ++-- frontend/main.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index 7dded84b..03c8a1dc 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -535,10 +535,10 @@ ifdef ALLOW_LIGHTREC_ON_ARM CFLAGS += -DALLOW_LIGHTREC_ON_ARM endif ifeq ($(BUILTIN_GPU),neon) -ifeq ($(ARCH_DETECTED),i686) +ifeq ($(ARCH),i686) CFLAGS_GPU_NEON ?= -msse2 # required endif -ifeq ($(ARCH_DETECTED),x86_64) +ifeq ($(ARCH),x86_64) CFLAGS_GPU_NEON ?= -mssse3 # optional, for more perf endif CFLAGS += $(CFLAGS_GPU_NEON) diff --git a/frontend/main.c b/frontend/main.c index d52fe211..d22ac226 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -432,7 +432,7 @@ static void log_wrong_cpu(void) CHECK_CPU("ssse3"); #endif #ifdef __SSE4_1__ - CHECK_CPU("sse4"); + CHECK_CPU("sse4.1"); #endif #endif // DO_CPU_CHECKS } -- 2.39.5