commit:     d6cb7a61dad7e9672a8448597835dbbf9b9e0ccf
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Tue Nov 12 18:32:15 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 12 19:18:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6cb7a61

toolchain.eclass: Disable CET on x86

Remove enable_cet_for 'i[34567]86' 'gnu' 'cet' from to prevent -fcf-protection 
on x86
systens where CET support will never be fully enabled anyway.

This should help with bug #933772 also but I was unable to reproduce to confirm.

Closes: https://bugs.gentoo.org/943332
Bug: https://bugs.gentoo.org/933772
Thanks-to: Sam James <sam <AT> gentoo.org>
Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 1 -
 1 file changed, 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index c900e2051cd1..1f043de0b548 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1586,7 +1586,6 @@ toolchain_src_configure() {
                        fi
                }
 
-               enable_cet_for 'i[34567]86' 'gnu' 'cet'
                enable_cet_for 'x86_64' 'gnu' 'cet'
                enable_cet_for 'aarch64' 'gnu' 'standard-branch-protection'
        fi

Reply via email to