Change microarchitecture from Zen 1 to Zen 3 due to CPU architecture change. Sort toolchain commands A-Z.
This commit is contained in:
parent
2bdabbb87a
commit
97c803145c
6
portage/env/gcc.conf
vendored
6
portage/env/gcc.conf
vendored
@ -4,9 +4,9 @@
|
||||
|
||||
|
||||
# Toolchain.
|
||||
AR="ar"
|
||||
CC="gcc"
|
||||
CXX="g++"
|
||||
AR="ar"
|
||||
NM="nm"
|
||||
RANLIB="ranlib"
|
||||
|
||||
@ -17,8 +17,8 @@ C_SEC="-fPIE -fPIC -fstack-protector-all -fstack-clash-protection -D_FORTIFY_SOU
|
||||
LD_SEC="-Wl,-pie -Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro"
|
||||
|
||||
## Compiler flags.
|
||||
CFLAGS="-march=znver1 -O2 -pipe -flto=4 -U__gnu_linux__ ${C_SEC}"
|
||||
CXXFLAGS="-march=znver1 -O2 -pipe -flto=4 ${C_SEC}"
|
||||
CFLAGS="-march=znver3 -O2 -pipe -flto=4 -U__gnu_linux__ ${C_SEC}"
|
||||
CXXFLAGS="-march=znver3 -O2 -pipe -flto=4 ${C_SEC}"
|
||||
|
||||
## Linker flags.
|
||||
LDFLAGS="-Wl,-O2 ${LD_SEC}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user