diff options
author | Andrei Horodniceanu <a.horodniceanu@proton.me> | 2024-11-07 15:49:00 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-10 17:23:44 +0000 |
commit | e08def09c01c484bcd0f1305e88165b4418f43b3 (patch) | |
tree | 0196371f7e349681c9b5187965eeb81c2d6fe970 /eclass | |
parent | net-libs/nghttp3: Keyword 1.6.0 for ~m68k (diff) | |
download | gentoo-e08def09c01c484bcd0f1305e88165b4418f43b3.tar.gz gentoo-e08def09c01c484bcd0f1305e88165b4418f43b3.tar.bz2 gentoo-e08def09c01c484bcd0f1305e88165b4418f43b3.zip |
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@proton.me>
Closes: https://github.com/gentoo/gentoo/pull/39228
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |