From 536adbd7cca1f257261645d9cfd7910a0055a60e Mon Sep 17 00:00:00 2001 From: Kaelyn Date: Sat, 26 Nov 2022 02:02:25 +0000 Subject: 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 --- gnu/packages/libreoffice.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu') 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 -- cgit 1.4.1