diff --git a/dev-util/volk/volk-1.4.309.0.ebuild b/dev-util/volk/volk-1.4.309.0.ebuild index 78fa446f356b4..a338b6c437911 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 dfe258834e94f..5ac04a36bcc25 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 +}