From cc5c85cb320e1b1d41abbef3b636e9934d107226 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Thu, 14 Oct 2021 14:31:37 +0200 Subject: --enable-lto for CP distro configs that use --enable-mergelibs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's a couple of percent better performance at the cost of build time. It should build properly, but if something breaks for whatever reason, shout and I'll fix it. Change-Id: I37b7e90eecc0d7b503db88ad18fcbf2ae5f22a98 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123587 Tested-by: Jenkins CollaboraOffice Reviewed-by: Luboš Luňák --- distro-configs/CPLinux-LOKit.conf | 1 + distro-configs/CPLinux.conf | 1 + distro-configs/CPWin32.conf | 1 + distro-configs/CPWin64.conf | 1 + 4 files changed, 4 insertions(+) diff --git a/distro-configs/CPLinux-LOKit.conf b/distro-configs/CPLinux-LOKit.conf index 5f575b6fa5e7..eacbcf5fae0a 100644 --- a/distro-configs/CPLinux-LOKit.conf +++ b/distro-configs/CPLinux-LOKit.conf @@ -55,6 +55,7 @@ --disable-online-update --disable-dconf --enable-mergelibs +--enable-lto --with-package-format=deb rpm --enable-release-build --with-lang=ar as ast bg bn-IN br ca ca-valencia cy cs da de el en-US en-GB es et eu fi fr ga gd gl gu he hi hr hu id is it ja km kn ko lt lv ml mr nb nl nn oc or pa-IN pl pt pt-BR ro ru sk sl sr sr-Latn sv ta te tr uk vi zh-CN zh-TW diff --git a/distro-configs/CPLinux.conf b/distro-configs/CPLinux.conf index 5c59211380ae..72fd0b0ffd17 100644 --- a/distro-configs/CPLinux.conf +++ b/distro-configs/CPLinux.conf @@ -40,6 +40,7 @@ --disable-online-update --disable-dconf --enable-mergelibs +--enable-lto --with-package-format=deb rpm --enable-release-build --with-lang=ar as ast bg bn-IN br ca ca-valencia cy cs da de el en-US en-GB es et eu fi fr ga gd gl gu he hi hr hu id is it ja km kn ko lt lv ml mr nb nl nn oc or pa-IN pl pt pt-BR ro ru sk sl sr sr-Latn sv ta te tr uk vi zh-CN zh-TW diff --git a/distro-configs/CPWin32.conf b/distro-configs/CPWin32.conf index 8f79659f4e6a..b3b2f6cbc5f7 100644 --- a/distro-configs/CPWin32.conf +++ b/distro-configs/CPWin32.conf @@ -19,6 +19,7 @@ --with-myspell-dicts --with-package-format=msi --enable-mergelibs +--enable-lto --with-lang=ar as ast bg bn-IN br ca ca-valencia cy cs da de el en-US en-GB es et eu fi fr ga gd gl gu he hi hr hu id is it ja km kn ko lt lv ml mr nb nl nn oc or pa-IN pl pt pt-BR ro ru sk sl sr sr-Latn sv ta te tr uk vi zh-CN zh-TW --enable-windows-build-signing --enable-symbols diff --git a/distro-configs/CPWin64.conf b/distro-configs/CPWin64.conf index 1b715691c9c9..7216b352dc3c 100644 --- a/distro-configs/CPWin64.conf +++ b/distro-configs/CPWin64.conf @@ -19,6 +19,7 @@ --with-myspell-dicts --with-package-format=msi --enable-mergelibs +--enable-lto --with-lang=ar as ast bg bn-IN br ca ca-valencia cy cs da de el en-US en-GB es et eu fi fr ga gd gl gu he hi hr hu id is it ja km kn ko lt lv ml mr nb nl nn oc or pa-IN pl pt pt-BR ro ru sk sl sr sr-Latn sv ta te tr uk vi zh-CN zh-TW --enable-windows-build-signing --enable-symbols -- cgit v1.2.3