From 733461ca657534fae1500b0bdf798ad778f29b5c Mon Sep 17 00:00:00 2001 From: inference Date: Tue, 3 Jan 2023 14:03:43 +0000 Subject: [PATCH] Force compiler code tuning to AMD Zen 3 architecture. --- portage/env/basic.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/portage/env/basic.conf b/portage/env/basic.conf index 489998e..a212c1e 100644 --- a/portage/env/basic.conf +++ b/portage/env/basic.conf @@ -3,12 +3,12 @@ # Copyright 2022-2023 Inference # SPDX-License-Identifier: BSD-3-Clause-Clear -# Version: 0.0.2.2 +# Version: 1.0.0.3 # Flags ## Compiler flags -CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__" -CXXFLAGS="-march=znver3 -O2 -pipe" +CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__" +CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe" ## Linker flags LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"