commit: 4222bc7e9975cea01faee83aaddc97399b44cfe7
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue May 6 21:35:37 2025 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Wed May 7 05:40:51 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4222bc7e
dev-util/volk: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO.
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
dev-util/volk/volk-1.4.309.0.ebuild | 8 +++++++-
dev-util/volk/volk-9999.ebuild | 10 ++++++++--
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/dev-util/volk/volk-1.4.309.0.ebuild
b/dev-util/volk/volk-1.4.309.0.ebuild
index 78fa446f356b..a338b6c43791 100644
--- a/dev-util/volk/volk-1.4.309.0.ebuild
+++ b/dev-util/volk/volk-1.4.309.0.ebuild
@@ -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
+}
diff --git a/dev-util/volk/volk-9999.ebuild b/dev-util/volk/volk-9999.ebuild
index dfe258834e94..5ac04a36bcc2 100644
--- a/dev-util/volk/volk-9999.ebuild
+++ b/dev-util/volk/volk-9999.ebuild
@@ -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
+}