mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
toolchain.eclass: Selectively enable cet options per arch
Bug: https://bugs.gentoo.org/916381 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
@@ -1240,10 +1240,8 @@ toolchain_src_configure() {
|
||||
fi
|
||||
|
||||
if in_iuse cet ; then
|
||||
confgcc+=(
|
||||
$(use_enable cet)
|
||||
$(use_enable cet standard-branch-protection)
|
||||
)
|
||||
[[ ${CTARGET} == x86_64-*-gnu* ]] && confgcc+=( $(use_enable cet) )
|
||||
[[ ${CTARGET} == aarch64-*-gnu* ]] && confgcc+=( $(use_enable cet standard-branch-protection) )
|
||||
fi
|
||||
|
||||
if in_iuse systemtap ; then
|
||||
|
||||
Reference in New Issue
Block a user