aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/libreoffice.scm
diff options
context:
space:
mode:
authorKaelyn <kaelyn.alexi@protonmail.com>2022-11-26 02:02:25 +0000
committerTobias Geerinckx-Rice <me@tobias.gr>2022-11-20 01:00:00 +0100
commit536adbd7cca1f257261645d9cfd7910a0055a60e (patch)
tree4737b510175a3776980bd6878ffc24fe5eefe808 /gnu/packages/libreoffice.scm
parentbc9234a8f8db3f449141e7961fc44b9c7479e99a (diff)
downloadguix-536adbd7cca1f257261645d9cfd7910a0055a60e.tar
guix-536adbd7cca1f257261645d9cfd7910a0055a60e.tar.gz
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 <me@tobias.gr>
Diffstat (limited to 'gnu/packages/libreoffice.scm')
-rw-r--r--gnu/packages/libreoffice.scm4
1 files changed, 4 insertions, 0 deletions
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