mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-libs/pixman: filter LTO on riscv
There is a known issue in GCC causing build failures in this package on riscv when LTO is enabled. This commit temporary disables LTO on riscv. Closes: https://bugs.gentoo.org/956715 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
@@ -9,7 +9,7 @@ if [[ ${PV} = 9999* ]]; then
|
||||
GIT_ECLASS="git-r3"
|
||||
fi
|
||||
|
||||
inherit ${GIT_ECLASS} meson-multilib multiprocessing toolchain-funcs
|
||||
inherit flag-o-matic ${GIT_ECLASS} meson-multilib multiprocessing toolchain-funcs
|
||||
|
||||
DESCRIPTION="Low-level pixel manipulation routines"
|
||||
HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/"
|
||||
@@ -32,6 +32,13 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Temporary workaround for a build failure (known gcc issue):
|
||||
#
|
||||
# * https://bugs.gentoo.org/956715
|
||||
# * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812
|
||||
#
|
||||
use riscv && filter-lto
|
||||
|
||||
local emesonargs=(
|
||||
$(meson_feature cpu_flags_x86_mmxext mmx)
|
||||
$(meson_feature cpu_flags_x86_sse2 sse2)
|
||||
|
||||
@@ -9,7 +9,7 @@ if [[ ${PV} = 9999* ]]; then
|
||||
GIT_ECLASS="git-r3"
|
||||
fi
|
||||
|
||||
inherit ${GIT_ECLASS} meson-multilib multiprocessing toolchain-funcs
|
||||
inherit flag-o-matic ${GIT_ECLASS} meson-multilib multiprocessing toolchain-funcs
|
||||
|
||||
DESCRIPTION="Low-level pixel manipulation routines"
|
||||
HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/"
|
||||
@@ -32,6 +32,13 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Temporary workaround for a build failure (known gcc issue):
|
||||
#
|
||||
# * https://bugs.gentoo.org/956715
|
||||
# * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812
|
||||
#
|
||||
use riscv && filter-lto
|
||||
|
||||
local emesonargs=(
|
||||
$(meson_feature cpu_flags_x86_mmxext mmx)
|
||||
$(meson_feature cpu_flags_x86_sse2 sse2)
|
||||
|
||||
Reference in New Issue
Block a user