mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
toolchain.eclass: disable automagic CET for x86
It's not supported on 32-bit kernels anyway. This got lost inb6bf005b84when wiring up arm64. Bug: https://bugs.gentoo.org/916381 Closes: https://bugs.gentoo.org/939874 Fixes:b6bf005b84Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1310,7 +1310,9 @@ toolchain_src_configure() {
|
||||
fi
|
||||
|
||||
if in_iuse cet ; then
|
||||
[[ ${CTARGET} == x86_64-*-gnu* ]] && confgcc+=( $(use_enable cet) )
|
||||
if [[ ${CTARGET} == i[[34567]]86-*-linux* || ${CTARGET} == x86_64-*-gnu* ]] ; then
|
||||
confgcc+=( $(use_enable cet) )
|
||||
fi
|
||||
[[ ${CTARGET} == aarch64-*-gnu* ]] && confgcc+=( $(use_enable cet standard-branch-protection) )
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user