summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPaulo Matias2022-11-14 16:53:24 -0300
committerPaulo Matias2022-11-14 16:53:24 -0300
commit3971e5e748a82a6e3e3aab8c36552de4a98a5156 (patch)
tree1c7696dadce128be1bcd26b06901f319a969611e /PKGBUILD
parent48f028f4b02083a325a7099c88597e3a3ff85980 (diff)
downloadaur-3971e5e748a82a6e3e3aab8c36552de4a98a5156.tar.gz
Let the build system set LTO itself where it makes sense
According to ptr1337, this reduces RAM usage from 60GB to 12GB. Arch's Firefox package also uses this option. Not sure why that happens. Our hypothesis is that Firefox build system might enable `-flto` only where it makes sense. If you have data, contact us, we are curious.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5b9e82dd54c4..2a03d2302d16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,7 @@ optdepends=('networkmanager: Location detection via available WiFi networks'
'speech-dispatcher: Text-to-Speech'
'hunspell-en_US: Spell checking, American English'
'xdg-desktop-portal: Screensharing with Wayland')
-options=(!emptydirs !makeflags !strip)
+options=(!emptydirs !makeflags !strip !lto)
_repo=https://hg.mozilla.org/mozilla-unified
conflicts=('firefox')
provides=('firefox')