From 09dff353b0c1a9eb1d227983cf7c1c019ae56b2c Mon Sep 17 00:00:00 2001 From: inference Date: Sat, 17 Sep 2022 00:25:14 +0100 Subject: [PATCH] Fix LTO linker argument. --- portage/make.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portage/make.conf b/portage/make.conf index edf46e6..c335a94 100644 --- a/portage/make.conf +++ b/portage/make.conf @@ -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}" ## 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="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"