dev-util/volk: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2025-05-06 17:35:37 -04:00
parent 2fb79534bd
commit 4222bc7e99
2 changed files with 15 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit cmake-multilib
inherit cmake-multilib dot-a
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/zeux/volk.git"
@@ -29,8 +29,14 @@ DEPEND="${RDEPEND}
"
multilib_src_configure() {
lto-guarantee-fat
local mycmakeargs=(
-DVOLK_INSTALL=on
)
cmake_src_configure
}
multilib_src_install_all() {
strip-lto-bytecode
}

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake-multilib
inherit cmake-multilib dot-a
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/zeux/volk.git"
@@ -29,8 +29,14 @@ DEPEND="${RDEPEND}
"
multilib_src_configure() {
lto-guarantee-fat
local mycmakeargs=(
-DVOLK_INSTALL=on
)
cmake_src_configure
}
multilib_src_install_all() {
strip-lto-bytecode
}