mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/directx-headers: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/958348 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
MY_PN=DirectX-Headers
|
||||
inherit meson-multilib
|
||||
inherit dot-a meson-multilib
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/microsoft/${MY_PN}.git"
|
||||
@@ -22,9 +22,17 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
multilib_src_configure() {
|
||||
lto-guarantee-fat
|
||||
|
||||
local emesonargs=(
|
||||
-Dbuild-test=false
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
strip-lto-bytecode
|
||||
einstalldocs
|
||||
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN=DirectX-Headers
|
||||
inherit meson-multilib
|
||||
inherit dot-a meson-multilib
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/microsoft/${MY_PN}.git"
|
||||
@@ -22,9 +22,17 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
multilib_src_configure() {
|
||||
lto-guarantee-fat
|
||||
|
||||
local emesonargs=(
|
||||
-Dbuild-test=false
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
strip-lto-bytecode
|
||||
einstalldocs
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user