From 4db7f622bd01e47737c83db6b0fc61cf38eaead2 Mon Sep 17 00:00:00 2001 From: Yang Hau Date: Tue, 9 Jul 2024 11:39:47 +0800 Subject: [PATCH] wip --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 999a3a7b..aaee7fe4 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ ARCH_CFLAGS := $(ARCH_CFLAGS)+$(subst $(COMMA),+,$(FEATURE)) endif endif -CXXFLAGS += -Wall -Wcast-qual -I. $(ARCH_CFLAGS) -std=gnu++14 +CXXFLAGS += -Wall -Wcast-qual -I. $(ARCH_CFLAGS) -O3 -std=gnu++14 LDFLAGS += -lm OBJS = \ tests/binding.o \ @@ -77,7 +77,7 @@ $(EXEC): $(OBJS) check: tests/main ifeq ($(processor),$(filter $(processor),aarch64 arm64 arm armv7l)) - $(CC) $(ARCH_CFLAGS) -c sse2neon.h + $(CC) $(ARCH_CFLAGS) -c -O3 sse2neon.h endif $(EXEC_WRAPPER) $^