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