Fix LTO linker argument.
This commit is contained in:
parent
09dff353b0
commit
4ffaaf9b3f
2
portage/env/nopie.conf
vendored
2
portage/env/nopie.conf
vendored
@ -28,4 +28,4 @@ CFLAGS="-march=znver3 -O2 -pipe -flto=thin -U__gnu_linux__ ${C_SEC}"
|
||||
CXXFLAGS="-march=znver3 -O2 -pipe -flto=thin ${C_SEC}"
|
||||
|
||||
## Linker flags.
|
||||
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -flto-jobs=4 ${LD_SEC}"
|
||||
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--thinlto-jobs=4 ${LD_SEC}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user