commit: e08def09c01c484bcd0f1305e88165b4418f43b3 Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me> AuthorDate: Thu Nov 7 13:49:00 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Nov 10 17:23:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08def09
toolchain.eclass: Check for gnu environment when enabling cet on x86 Like we do for arm64 and amd64, diverge from the upstream check for linux and only enable it for gnu triples. Closes: https://bugs.gentoo.org/942951 Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me> Closes: https://github.com/gentoo/gentoo/pull/39228 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 4d5973bb4959..573471351dd1 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1583,7 +1583,7 @@ toolchain_src_configure() { fi } - enable_cet_for 'i[34567]86' 'linux' 'cet' + enable_cet_for 'i[34567]86' 'gnu' 'cet' enable_cet_for 'x86_64' 'gnu' 'cet' enable_cet_for 'aarch64' 'gnu' 'standard-branch-protection' fi
