summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-12-16 07:56:26 +0000
committerSam James <sam@gentoo.org>2023-12-16 08:23:54 +0000
commitc65b98fb168626fb7c90358869f2694bdf2809bb (patch)
tree0c1a7eaede037245a38389c6ee1dff9d59491eda /x11-drivers
parentdev-libs/nss: drop 3.93, 3.94 (diff)
downloadgentoo-c65b98fb168626fb7c90358869f2694bdf2809bb.tar.gz
gentoo-c65b98fb168626fb7c90358869f2694bdf2809bb.tar.bz2
gentoo-c65b98fb168626fb7c90358869f2694bdf2809bb.zip
x11-drivers/xf86-video-intel: filter LTO due to 'flatten' attribute
The flatten attribute recursively inlines and causes OOM with GCC. Closes: https://bugs.gentoo.org/864379 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20230201.ebuild2
-rw-r--r--x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20230201.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20230201.ebuild
index 5698e3b5c082..c0904a8aa4ef 100644
--- a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20230201.ebuild
+++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20230201.ebuild
@@ -64,6 +64,8 @@ pkg_setup() {
src_configure() {
# bug #582910
replace-flags -Os -O2
+ # Uses the 'flatten' attribute which explodes with LTO (bug #864379)
+ filter-lto
local XORG_CONFIGURE_OPTIONS=(
--disable-dri1
diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild
index d421af04dbac..5e6af2a6c671 100644
--- a/x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild
+++ b/x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild
@@ -64,6 +64,8 @@ pkg_setup() {
src_configure() {
# bug #582910
replace-flags -Os -O2
+ # Uses the 'flatten' attribute which explodes with LTO (bug #864379)
+ filter-lto
local XORG_CONFIGURE_OPTIONS=(
--disable-dri1