diff --git a/Makefile b/Makefile index 2c051068b..ba73f0637 100644 --- a/Makefile +++ b/Makefile @@ -265,8 +265,8 @@ ifndef RISCV ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64)) # Use all CPU extensions that are available: - MK_CFLAGS += -march=znver4 -mtune=znver4 - HOST_CXXFLAGS += -march=znver4 -mtune=znver4 + MK_CFLAGS += -march=native -mtune=native + HOST_CXXFLAGS += -march=native -mtune=native # Usage AVX-only #MK_CFLAGS += -mfma -mf16c -mavx