mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
gui-libs/gtk: Fix build issues with x86
When building for x86 CPUs with SSE4.2 the build system assumes it's running on x86_64 and causes compile time failures. Following upstream advice in: https://gitlab.gnome.org/GNOME/gtk/-/issues/4173 Setting -DDISABLE_X64=1 on x86 will allow the program to compile as intended. Closes: https://bugs.gentoo.org/830723 Signed-off-by: Ian Jordan <immoloism@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42812 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
|
||||
inherit flag-o-matic gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
|
||||
|
||||
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
|
||||
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
|
||||
@@ -146,6 +146,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use x86 && append-flags -DDISABLE_X64=1 #943705 https://gitlab.gnome.org/GNOME/gtk/-/issues/4173
|
||||
|
||||
local emesonargs=(
|
||||
# GDK backends
|
||||
$(meson_use X x11-backend)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
|
||||
inherit flag-o-matic gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
|
||||
|
||||
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
|
||||
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
|
||||
@@ -146,6 +146,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use x86 && append-flags -DDISABLE_X64=1 #943705 https://gitlab.gnome.org/GNOME/gtk/-/issues/4173
|
||||
|
||||
local emesonargs=(
|
||||
# GDK backends
|
||||
$(meson_use X x11-backend)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
|
||||
inherit flag-o-matic gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
|
||||
|
||||
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
|
||||
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
|
||||
@@ -146,6 +146,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use x86 && append-flags -DDISABLE_X64=1 #943705 https://gitlab.gnome.org/GNOME/gtk/-/issues/4173
|
||||
|
||||
local emesonargs=(
|
||||
# GDK backends
|
||||
$(meson_use X x11-backend)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
|
||||
inherit flag-o-matic gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
|
||||
|
||||
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
|
||||
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
|
||||
@@ -145,6 +145,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use x86 && append-flags -DDISABLE_X64=1 #943705 https://gitlab.gnome.org/GNOME/gtk/-/issues/4173
|
||||
|
||||
local emesonargs=(
|
||||
# GDK backends
|
||||
$(meson_use X x11-backend)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
|
||||
inherit flag-o-matic gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
|
||||
|
||||
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
|
||||
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
|
||||
@@ -145,6 +145,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use x86 && append-flags -DDISABLE_X64=1 #943705 https://gitlab.gnome.org/GNOME/gtk/-/issues/4173
|
||||
|
||||
local emesonargs=(
|
||||
# GDK backends
|
||||
$(meson_use X x11-backend)
|
||||
|
||||
Reference in New Issue
Block a user