[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59519: LibreOffice 7.3.5.2 fails to build on i686-linux
From: |
Kaelyn |
Subject: |
bug#59519: LibreOffice 7.3.5.2 fails to build on i686-linux |
Date: |
Sat, 26 Nov 2022 02:02:25 +0000 |
Here is a revised diff with comments added for the flags.
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 8343f8ffc6..ea7f0f19e9 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -1235,6 +1235,12 @@ (define (install-appdata app)
;; when our default compiler is >=GCC 6.
"--disable-pdfium"
"--without-doxygen"
+ ;; Enable building with LTO to avoid linker errors about
+ ;; non-virtual thunks on i686-linux.
+ "--enable-lto"
+ ;; Disable galleries to avoid errors rebuilding the Gtk icon
+ ;; cache, at least on i686-linux.
+ "--without-galleries"
"--enable-build-opensymbol")))
(native-inputs
(list bison