diff options
author | Paulo Matias | 2022-11-14 16:53:24 -0300 |
---|---|---|
committer | Paulo Matias | 2022-11-14 16:53:24 -0300 |
commit | 3971e5e748a82a6e3e3aab8c36552de4a98a5156 (patch) | |
tree | 1c7696dadce128be1bcd26b06901f319a969611e | |
parent | 48f028f4b02083a325a7099c88597e3a3ff85980 (diff) | |
download | aur-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.
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -58,6 +58,7 @@ pkgbase = firefox-wayland-hg options = !emptydirs options = !makeflags options = !strip + options = !lto source = hg+https://hg.mozilla.org/mozilla-unified#revision=autoland source = firefox.desktop source = firefox-symbolic.svg @@ -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') |