diff options
author | 2020-10-07 03:01:00 +0200 | |
---|---|---|
committer | 2020-10-07 03:03:32 +0200 | |
commit | f86cb89cde8192adfdab42ee0b69109ddc12f1bd (patch) | |
tree | 4b9ba30c211e036c82f9ebd097f6b9c6d8bada0f /dev-lang/spidermonkey/metadata.xml | |
parent | dev-lang/spidermonkey: enable SIMD in Rust code (diff) | |
download | gentoo-f86cb89cde8192adfdab42ee0b69109ddc12f1bd.tar.gz gentoo-f86cb89cde8192adfdab42ee0b69109ddc12f1bd.tar.bz2 gentoo-f86cb89cde8192adfdab42ee0b69109ddc12f1bd.zip |
dev-lang/spidermonkey: add USE=lto
Forcing LTO via CFLAGS is not enough -- we need to tell build system
that we want to use LTO.
Closes: https://bugs.gentoo.org/746947
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-lang/spidermonkey/metadata.xml')
-rw-r--r-- | dev-lang/spidermonkey/metadata.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-lang/spidermonkey/metadata.xml b/dev-lang/spidermonkey/metadata.xml index fc9478d330b..c97143567bf 100644 --- a/dev-lang/spidermonkey/metadata.xml +++ b/dev-lang/spidermonkey/metadata.xml @@ -9,6 +9,7 @@ <flag name="custom-optimization">Build with user-specified compiler optimizations (-Os, -O0, -O1, -O2, -O3) from CFLAGS (unsupported)</flag> <flag name="debug">Enable assertions to allow for easier debugging of programs that link to spidermonkey -- note this will often crash software on regular end-user systems</flag> + <flag name="lto">Enable Link Time Optimization (LTO)</flag> <flag name="system-icu">Use the system-wide <pkg>dev-libs/icu</pkg> instead of bundled -- note, only takes effect when icu flag is enabled</flag> </use> </pkgmetadata> |