Fix LTO linker argument.
This commit is contained in:
parent
1513c6030f
commit
09dff353b0
@ -28,7 +28,7 @@ CFLAGS="-march=znver3 -O2 -pipe -flto=thin -U__gnu_linux__ ${C_SEC}"
|
|||||||
CXXFLAGS="-march=znver3 -O2 -pipe -flto=thin ${C_SEC}"
|
CXXFLAGS="-march=znver3 -O2 -pipe -flto=thin ${C_SEC}"
|
||||||
|
|
||||||
## Linker flags.
|
## 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}"
|
||||||
|
|
||||||
## USE flags.
|
## USE flags.
|
||||||
USE="clang dbus elogind libcxx libedit llvm-libunwind lto nftables pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libvpx system-llvm system-png system-webp verify-sig wayland"
|
USE="clang dbus elogind libcxx libedit llvm-libunwind lto nftables pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libvpx system-llvm system-png system-webp verify-sig wayland"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user