summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Müller2022-11-08 12:33:04 +0100
committerWolfgang Müller2022-11-08 12:33:04 +0100
commit96f950f6d732ec39d7865528c296c5aacccdd3d1 (patch)
treeea28a6a6cef2cca321dd532ce032927464483d35
parent1ecbcfb7b4a1abc2e10c6092af0e6206ee8c64d4 (diff)
downloadportage-roles-96f950f6d732ec39d7865528c296c5aacccdd3d1.tar.gz
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.
-rw-r--r--host-albatross/make.conf2
1 files changed, 1 insertions, 1 deletions
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}"