summaryrefslogtreecommitdiff
path: root/eclass/toolchain.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-12 00:45:59 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-12 00:45:59 +0000
commit2c3b9bbdb114cc13b6ef8e0e5933c9e374fca8b6 (patch)
tree04352a23e7dcea5171eafee655c62e4b2f24afbf /eclass/toolchain.eclass
parent72d7e048ae88be323a380e2eae52dfda0b2dc1c0 (diff)
gentoo auto-resync : 12:03:2024 - 00:45:59
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 05409f0fc3fa..1cc7000c2377 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1240,7 +1240,8 @@ toolchain_src_configure() {
fi
if in_iuse cet ; then
- confgcc+=( $(use_enable cet) )
+ [[ ${CTARGET} == x86_64-*-gnu* ]] && confgcc+=( $(use_enable cet) )
+ [[ ${CTARGET} == aarch64-*-gnu* ]] && confgcc+=( $(use_enable cet standard-branch-protection) )
fi
if in_iuse systemtap ; then