From b7bc44f3b35169406f0c54f86fd45c8f5d02deeb Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 9 Nov 2023 01:58:18 +0000 Subject: 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 --- eclass/toolchain.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'eclass') 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 ) -- cgit v1.2.3-65-gdbad