aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoelacanthus <[email protected]>2021-11-01 14:23:29 +0800
committerGitHub <[email protected]>2021-11-01 14:23:29 +0800
commitcc3227f6ef23dd7108358a3641f7532d59954ec5 (patch)
tree757979a64021d8826f4f21df04b2c67934627839
parent76bab36c33e51915046c6a8f69e53215deabd8ca (diff)
feat(makepkg): enable Link-Time Optimization by default (#8)
[1]: Arch Linux RFC4: https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0004-lto-by-default.rst Signed-off-by: Coelacanthus <[email protected]>
-rw-r--r--makepkg.d/makepkg.base.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/makepkg.d/makepkg.base.conf b/makepkg.d/makepkg.base.conf
index 93359ff..91f1c52 100644
--- a/makepkg.d/makepkg.base.conf
+++ b/makepkg.d/makepkg.base.conf
@@ -69,7 +69,7 @@ BUILDENV=(!distcc color !ccache check sign)
#-- debug: Add debugging flags as specified in DEBUG_* variables
#-- lto: Add compile flags for building with link time optimization
#
-OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto)
+OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)
#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha512 b2)