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

Andreas Radke andyrtr at gemini.archlinux.org
Thu Jan 6 21:29:21 UTC 2022


    Date: Thursday, January 6, 2022 @ 21:29:20
  Author: andyrtr
Revision: 433739

upgpkg: libreoffice-fresh 7.2.5-2: enablte LTO

Modified:
  libreoffice-fresh/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-06 20:25:05 UTC (rev 433738)
+++ PKGBUILD	2022-01-06 21:29:20 UTC (rev 433739)
@@ -12,7 +12,7 @@
 pkgname=('libreoffice-fresh-sdk' 'libreoffice-fresh')
 _LOver=7.2.5.2
 pkgver=7.2.5
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 license=('LGPL3')
 url="https://www.libreoffice.org/"
@@ -34,7 +34,7 @@
 	'libepubgen' 'libfreehand' 'libqxp' 'libstaroffice'  'boost' 'libnumbertext'
 	'libffi' 'box2d' 'git'
 )
-options=('!lto')
+#options=('!lto')
 _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,6 +150,9 @@
 	# 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 \



More information about the arch-commits mailing list