diff options
author | Job Bautista <jobbautista9@aol.com> | 2023-04-22 10:39:55 +0800 |
---|---|---|
committer | Job Bautista <jobbautista9@aol.com> | 2023-04-30 21:10:44 +0800 |
commit | 42e0b5db07314ff752e5dbe7cde8d3125a26f2d0 (patch) | |
tree | 610d19d0b9817dc7c5c9e3c6d053fdf31961fcc9 /build | |
parent | 4d4d8cfc9f73d48208afcfde9216fcddf9aecec3 (diff) | |
download | uxp-42e0b5db07314ff752e5dbe7cde8d3125a26f2d0.tar.gz |
Issue #2221 - Enable link-time optimization for Spidermonkey by default if building it shared.
Currently only Windows can take advantage of this.
The reason why the arrays of deunified sources are named like that in
Spidermonkey's moz.build is to avoid UnsortedErrors in python. There's probably
a better way to handle that, but I just want something that works for now.
And yes, the deunified sources will be reunified if LTO is disabled.
Diffstat (limited to 'build')
-rw-r--r-- | build/moz.configure/old.configure | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/moz.configure/old.configure b/build/moz.configure/old.configure index 64e91e1f31..40cc9e89fc 100644 --- a/build/moz.configure/old.configure +++ b/build/moz.configure/old.configure @@ -196,6 +196,7 @@ def old_configure_options(*options): '--enable-ion', '--enable-ios-target', '--enable-jitspew', + '--enable-js-lto', '--enable-libjpeg-turbo', '--enable-libproxy', '--enable-llvm-hacks', |