From: notaz Date: Fri, 16 Sep 2022 20:30:05 +0000 (+0300) Subject: try to fix build X-Git-Tag: r24l~375 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4f2c7d997002478d75fa97b7c5f3b14dad8b562;p=pcsx_rearmed.git try to fix build --- 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 }