nckx pushed a commit to branch master
in repository guix.

commit 536adbd7cca1f257261645d9cfd7910a0055a60e
Author: Kaelyn <[email protected]>
AuthorDate: Sat Nov 26 02:02:25 2022 +0000

    gnu: libreoffice: Fix build on i686-linux.
    
    * gnu/packages/libreoffice.scm (libreoffice)[arguments]: Add
    "--enable-lto" and "--without-galleries" #:configure-flags.
    
    Signed-off-by: Tobias Geerinckx-Rice <[email protected]>
---
 gnu/packages/libreoffice.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 8343f8ffc6..da4cb8ad43 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -1235,6 +1235,10 @@ converting QuarkXPress file format.  It supports 
versions 3.1 to 4.1.")
          ;; when our default compiler is >=GCC 6.
          "--disable-pdfium"
          "--without-doxygen"
+         ;; Avoid linker errors about non-virtual thunks on i686-linux.
+         "--enable-lto"
+         ;; Avoid errors rebuilding the Gtk icon cache, at least on i686-linux.
+         "--without-galleries"
          "--enable-build-opensymbol")))
     (native-inputs
      (list bison

Reply via email to