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
|
# Copyright 2022-2023 Inference
|
||||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
|
|
||||||
# Version: 0.0.2.2
|
# Version: 1.0.0.3
|
||||||
|
|
||||||
|
|
||||||
# Toolchain
|
# Toolchain
|
||||||
@ -23,7 +23,7 @@ STRIP="strip"
|
|||||||
|
|
||||||
# Flags
|
# Flags
|
||||||
## Compiler flags
|
## Compiler flags
|
||||||
CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__"
|
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__"
|
||||||
CXXFLAGS="-march=znver3 -O2 -pipe"
|
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe"
|
||||||
## Linker flags
|
## Linker flags
|
||||||
LDFLAGS="-Wl,-O2"
|
LDFLAGS="-Wl,-O2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user