From c0d5c860e52269a4686d77f7ef9f7fc0692a75ff Mon Sep 17 00:00:00 2001 From: Alessandre Laguierce Date: Tue, 8 Apr 2025 22:00:52 +0200 Subject: [PATCH] feat: add native target architecture --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 29f45ab..ef7c56c 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ check_targets=$(addprefix check_,${all_bins}) src_dirs=$(sort $(dir $(wildcard ${src_dir}/**/))) includes=$(patsubst %,-I%,${src_dirs}) -CFLAGS+=${includes} -fPIC +CFLAGS+=${includes} -march=native -fPIC LDFLAGS+= ifdef USE_PTHREAD LDFLAGS+=-lpthread