From 96f950f6d732ec39d7865528c296c5aacccdd3d1 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Tue, 8 Nov 2022 12:33:04 +0100 Subject: host-albatross: Use -march=native instead of -march=znver3 Using -march=native selects options specifically detected for the CPU, and not only a lowest-common base for the entire Zen 3 lineup. --- host-albatross/make.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host-albatross/make.conf b/host-albatross/make.conf index e49575d..e75f81f 100644 --- a/host-albatross/make.conf +++ b/host-albatross/make.conf @@ -1,4 +1,4 @@ -COMMON_FLAGS="-march=znver3 -mtune=znver3 -O2 -pipe" +COMMON_FLAGS="-march=native -O2 -pipe" CFLAGS="${COMMON_FLAGS}" CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" -- cgit v1.2.3-2-gb3c3