summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-11-09 01:58:18 +0000
committerSam James <sam@gentoo.org>2023-11-09 01:59:31 +0000
commitb7bc44f3b35169406f0c54f86fd45c8f5d02deeb (patch)
tree492f68336fb4b5e1141b06c607643476f97feff5 /eclass
parentdev-util/ruff: add 0.1.5, drop 0.1.3 (diff)
downloadgentoo-b7bc44f3b35169406f0c54f86fd45c8f5d02deeb.tar.gz
gentoo-b7bc44f3b35169406f0c54f86fd45c8f5d02deeb.tar.bz2
gentoo-b7bc44f3b35169406f0c54f86fd45c8f5d02deeb.zip
toolchain.eclass: restore graphite for USE=jit minimal build
graphite (isl) might be used for the just-built GCC. It's easier to just respect USE=graphite for the USE=jit minimal build in case the user passes some graphite flags rather than try strip them out. (The build would fail otherwise as the just-built GCC, even with --disable-bootstrap for the JIT build, would be invoked as ./xgcc ... -fgraphite-identity ... and error out in configure.) Reported by ano on IRC. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index ac8b90c8c58a..60769c93877f 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1378,7 +1378,10 @@ toolchain_src_configure() {
--disable-systemtap
--enable-host-shared
--enable-languages=jit
- --without-isl
+ # Might be used for the just-built GCC. Easier to just
+ # respect USE=graphite here in case the user passes some
+ # graphite flags rather than try strip them out.
+ $(use_with graphite isl)
--without-zstd
--with-system-zlib
)