mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08: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:
parent
daa0ed2939
commit
d6456aedc6
@ -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
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user