Force compiler code tuning to AMD Zen 3 architecture.
This commit is contained in:
parent
efe980fc31
commit
733461ca65
6
portage/env/basic.conf
vendored
6
portage/env/basic.conf
vendored
@ -3,12 +3,12 @@
|
|||||||
# 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
|
||||||
|
|
||||||
|
|
||||||
# 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="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user