try to fix build
authornotaz <notasas@gmail.com>
Fri, 16 Sep 2022 20:30:05 +0000 (23:30 +0300)
committernotaz <notasas@gmail.com>
Fri, 16 Sep 2022 20:30:05 +0000 (23:30 +0300)
Makefile.libretro
frontend/main.c

index 7dded84..03c8a1d 100644 (file)
@@ -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)
index d52fe21..d22ac22 100644 (file)
@@ -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
 }