summaryrefslogtreecommitdiff
path: root/sys-libs/glibc/glibc-2.39.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/glibc/glibc-2.39.ebuild')
-rw-r--r--sys-libs/glibc/glibc-2.39.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys-libs/glibc/glibc-2.39.ebuild b/sys-libs/glibc/glibc-2.39.ebuild
index 108a4dfa2070..d48d26dff251 100644
--- a/sys-libs/glibc/glibc-2.39.ebuild
+++ b/sys-libs/glibc/glibc-2.39.ebuild
@@ -988,9 +988,8 @@ glibc_do_configure() {
*) myconf+=( libc_cv_ld_gnu_indirect_function=no ) ;;
esac
- # Enable Intel Control-flow Enforcement Technology on amd64 if requested
- case ${CTARGET} in
- x86_64-*) myconf+=( $(use_enable cet) ) ;;
+ case ${ABI}-${CTARGET} in
+ amd64-x86_64-*|x32-x86_64-*-*-gnux32) myconf+=( $(use_enable cet) ) ;;
*) ;;
esac