mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/clog: fix lto
Closes: https://bugs.gentoo.org/958504 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user