mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
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:
parent
7a33d7b64e
commit
4382f5eed8
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user