Force compiler code tuning to AMD Zen 3 architecture.
This commit is contained in:
parent
8d97c08187
commit
235cca5c7c
6
portage/env/gcc-basic.conf
vendored
6
portage/env/gcc-basic.conf
vendored
@ -3,7 +3,7 @@
|
||||
# Copyright 2022-2023 Inference
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# Version: 0.0.2.2
|
||||
# Version: 1.0.0.3
|
||||
|
||||
|
||||
# Toolchain
|
||||
@ -23,7 +23,7 @@ STRIP="strip"
|
||||
|
||||
# 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="-Wl,-O2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user