summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-07 17:59:44 +0000
committerSam James <sam@gentoo.org>2024-03-07 17:59:44 +0000
commit015591c4c4c085390dc4cf1344a6efa26fb55bd3 (patch)
treeebef2e6402a682f422d3d4341ea6a3ef7946e836 /eclass
parentsys-libs/musl: Stabilize 1.2.4-r1 x86, #920477 (diff)
downloadgentoo-015591c4c4c085390dc4cf1344a6efa26fb55bd3.tar.gz
gentoo-015591c4c4c085390dc4cf1344a6efa26fb55bd3.tar.bz2
gentoo-015591c4c4c085390dc4cf1344a6efa26fb55bd3.zip
toolchain.eclass: enable LTO for libgccjit build
Note that this is just about LTO support, not building it with LTO. See https://inbox.sourceware.org/jit/dd6f69da-757b-49ba-864a-377a8dc393cf@zoho.com/T/#t. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index fef38790922c..05409f0fc3fa 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1383,6 +1383,7 @@ toolchain_src_configure() {
local confgcc_jit=(
"${confgcc[@]}"
+ --enable-lto
--disable-analyzer
--disable-bootstrap
--disable-cet
@@ -1398,7 +1399,6 @@ toolchain_src_configure() {
--disable-libssp
--disable-libstdcxx-pch
--disable-libvtv
- --disable-lto
--disable-nls
--disable-objc-gc
--disable-systemtap