[arch-commits] Commit in libreoffice-fresh/trunk (PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sat Jan 8 09:48:31 UTC 2022


    Date: Saturday, January 8, 2022 @ 09:48:30
  Author: foutrelis
Revision: 433859

Use parallel link-time optimization

Modified:
  libreoffice-fresh/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-08 09:44:33 UTC (rev 433858)
+++ PKGBUILD	2022-01-08 09:48:30 UTC (rev 433859)
@@ -34,7 +34,7 @@
 	'libepubgen' 'libfreehand' 'libqxp' 'libstaroffice'  'boost' 'libnumbertext'
 	'libffi' 'box2d' 'git'
 )
-#options=('!lto')
+options=('!lto') # using --enable-lto (for parallel link-time optimization)
 _mirror="https://download.documentfoundation.org/libreoffice/src/${pkgver}"
 #_mirror="https://dev-builds.libreoffice.org/pre-releases/src"
 _additional_source_url="https://dev-www.libreoffice.org/src"
@@ -150,9 +150,6 @@
 	# http://site.icu-project.org/download/61#TOC-Migration-Issues
 	CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
 
-	# lto
-	export CFLAGS+=" -ffat-lto-objects"; export CXXFLAGS+=" -ffat-lto-objects"
-
 	./autogen.sh --with-extra-buildid="${pkgver}-${pkgrel}" \
 		--with-vendor="Arch Linux" \
 		--enable-split-app-modules \
@@ -173,6 +170,7 @@
 		--enable-qt5 \
 		--enable-gtk3 \
 		--enable-introspection \
+		--enable-lto \
 		--enable-openssl \
 		--enable-odk\
 		--enable-python=system \



More information about the arch-commits mailing list