From e259361e3ac0aec11467bd101a849c6fcb461f20 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Fri, 22 Dec 2023 12:47:18 -0700 Subject: [PATCH] pkgbuilds: gdb-multiarch: Disable LTO There are some issues in gdb 13.2 when building with LTO that are fixed upstream but the backports are not straight forward. Just disable LTO for this package, it is not mission critical. Signed-off-by: Nathan Chancellor --- pkgbuilds/gdb-multiarch/PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgbuilds/gdb-multiarch/PKGBUILD b/pkgbuilds/gdb-multiarch/PKGBUILD index 863fd40b..3799c15a 100644 --- a/pkgbuilds/gdb-multiarch/PKGBUILD +++ b/pkgbuilds/gdb-multiarch/PKGBUILD @@ -15,6 +15,7 @@ depends=(glibc ncurses libncursesw.so gcc-libs expat xz mpfr source-highlight readline libreadline.so guile python libelf) makedepends=(texinfo boost) backup=(etc/gdb/gdbinit) +options=(!lto) # too many errors at the moment source=(https://ftp.gnu.org/gnu/gdb/gdb-${pkgver}.tar.xz{,.sig}) sha1sums=('bcd6b05a2565f4339e1187dae428fb58a000d690' 'SKIP')