dev-libs/vc: use dot-a.eclass

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

Closes: https://bugs.gentoo.org/958415
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz 2025-08-05 15:32:37 -04:00
parent 7a33d7b64e
commit 4382f5eed8
No known key found for this signature in database
GPG Key ID: 84A7D12B700D2F57
2 changed files with 24 additions and 4 deletions

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
inherit cmake dot-a
DESCRIPTION="SIMD Vector Class Library for C++"
HOMEPAGE="https://github.com/VcDevel/Vc"
@ -13,3 +13,13 @@ S="${WORKDIR}"/Vc-${PV}
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux ~x64-macos"
src_configure() {
lto-guarantee-fat
cmake_src_configure
}
src_install() {
cmake_src_install
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
inherit cmake dot-a
DESCRIPTION="SIMD Vector Class Library for C++"
HOMEPAGE="https://github.com/VcDevel/Vc"
@ -13,3 +13,13 @@ S="${WORKDIR}"/Vc-${PV}
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
src_configure() {
lto-guarantee-fat
cmake_src_configure
}
src_install() {
cmake_src_install
strip-lto-bytecode
}