build(anaconda): disable LTO, GCC 16 crashes linking the widgets
lto1 segfaults (internal compiler error) on libAnacondaWidgets. Both packages compile widgets/, so both need it.
This commit is contained in:
2 files changed
+6
No files matched your search
@@ -19,6 +19,9 @@ depends=('gtk3' 'glib2' 'pango' 'gdk-pixbuf2' 'python-gobject')
|
||||
# de codegen GLib, scindés de glib2 sur Arch). Indispensable au build des widgets.
|
||||
makedepends=('autoconf' 'automake' 'libtool' 'gettext' 'intltool'
|
||||
'gobject-introspection' 'gtk-doc' 'glib2-devel' 'python')
|
||||
# GCC 16 segfaults in lto1 while linking libAnacondaWidgets (internal compiler
|
||||
# error in cl_optimization_restore). LTO buys nothing measurable here.
|
||||
options=('!lto')
|
||||
source=("anaconda-$pkgver.tar.gz::https://github.com/rhinstaller/anaconda/archive/refs/tags/anaconda-$pkgver.tar.gz")
|
||||
sha256sums=('5ef1464bff7f28a4a09a821cbb0121f09ef504ec169288d742373f86807ec4ed')
|
||||
_srcdir="anaconda-anaconda-$pkgver"
|
||||
|
||||
@@ -53,6 +53,9 @@ makedepends=(
|
||||
'gobject-introspection' 'python' 'gdk-pixbuf2' 'libxml2'
|
||||
'desktop-file-utils' 'glib2-devel' 'libarchive' 'rpm-tools'
|
||||
)
|
||||
# GCC 16 segfaults in lto1 while linking libAnacondaWidgets (internal compiler
|
||||
# error in cl_optimization_restore). LTO buys nothing measurable here.
|
||||
options=('!lto')
|
||||
source=("anaconda-$pkgver.tar.gz::https://github.com/rhinstaller/anaconda/archive/refs/tags/anaconda-$pkgver.tar.gz")
|
||||
sha256sums=('5ef1464bff7f28a4a09a821cbb0121f09ef504ec169288d742373f86807ec4ed')
|
||||
_srcdir="anaconda-anaconda-$pkgver"
|
||||
|
||||
Reference in new issue
Block a user