dev-libs/clog: fix lto

Closes: https://bugs.gentoo.org/958504
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2025-06-21 21:17:34 +02:00
parent 89fb58f545
commit 9d083bd6d3

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
inherit cmake dot-a
CommitId=d6860c477c99f1fce9e28eb206891af3c0e1a1d7
@@ -39,6 +39,7 @@ src_prepare() {
}
src_configure() {
lto-guarantee-fat
local mycmakeargs=(
-DUSE_SYSTEM_LIBS=ON
-DUSE_SYSTEM_GOOGLETEST=ON
@@ -46,3 +47,8 @@ src_configure() {
)
cmake_src_configure
}
src_install() {
cmake_src_install
strip-lto-bytecode
}