media-libs/mesa: Workaround multilib build failure

Closes: https://bugs.gentoo.org/939803
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2025-01-04 15:03:35 -05:00
parent 4af91cdd78
commit f3caa4db8e
3 changed files with 30 additions and 3 deletions
+10 -1
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -476,6 +476,15 @@ multilib_src_configure() {
fi
}
multilib_src_compile() {
if [[ ${ABI} == x86 ]]; then
# Bug 939803
BINDGEN_EXTRA_CLANG_ARGS="-m32" meson_src_compile
else
meson_src_compile
fi
}
multilib_src_test() {
meson_src_test -t 100
}
+10 -1
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -471,6 +471,15 @@ multilib_src_configure() {
fi
}
multilib_src_compile() {
if [[ ${ABI} == x86 ]]; then
# Bug 939803
BINDGEN_EXTRA_CLANG_ARGS="-m32" meson_src_compile
else
meson_src_compile
fi
}
multilib_src_test() {
meson_src_test -t 100
}
+10 -1
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -471,6 +471,15 @@ multilib_src_configure() {
fi
}
multilib_src_compile() {
if [[ ${ABI} == x86 ]]; then
# Bug 939803
BINDGEN_EXTRA_CLANG_ARGS="-m32" meson_src_compile
else
meson_src_compile
fi
}
multilib_src_test() {
meson_src_test -t 100
}