Change microarchitecture from Zen 1 to Zen 3 due to CPU architecture change. Sort toolchain commands A-Z.
This commit is contained in:
parent
995b294c98
commit
58eaf83cf0
12
portage/env/nolto.conf
vendored
12
portage/env/nolto.conf
vendored
@ -9,13 +9,13 @@ CC="clang"
|
|||||||
CPP="clang-cpp"
|
CPP="clang-cpp"
|
||||||
CXX="clang++"
|
CXX="clang++"
|
||||||
LD="ld.lld"
|
LD="ld.lld"
|
||||||
STRINGS="llvm-strings"
|
|
||||||
STRIP="llvm-strip"
|
|
||||||
NM="llvm-nm"
|
NM="llvm-nm"
|
||||||
RANLIB="llvm-ranlib"
|
|
||||||
READELF="llvm-readelf"
|
|
||||||
OBJCOPY="llvm-objcopy"
|
OBJCOPY="llvm-objcopy"
|
||||||
OBJDUMP="llvm-objdump"
|
OBJDUMP="llvm-objdump"
|
||||||
|
RANLIB="llvm-ranlib"
|
||||||
|
READELF="llvm-readelf"
|
||||||
|
STRINGS="llvm-strings"
|
||||||
|
STRIP="llvm-strip"
|
||||||
|
|
||||||
|
|
||||||
# Flags.
|
# Flags.
|
||||||
@ -24,8 +24,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"
|
LD_SEC="-Wl,-pie -Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro"
|
||||||
|
|
||||||
## Compiler flags.
|
## Compiler flags.
|
||||||
CFLAGS="-march=znver1 -O2 -pipe -U__gnu_linux__ ${C_SEC}"
|
CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}"
|
||||||
CXXFLAGS="-march=znver1 -O2 -pipe ${C_SEC}"
|
CXXFLAGS="-march=znver3 -O2 -pipe ${C_SEC}"
|
||||||
|
|
||||||
## Linker flags.
|
## Linker flags.
|
||||||
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind ${LD_SEC}"
|
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind ${LD_SEC}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user