From 12f331bd91b0f02d0109b5457ddc0ae229a1bc4c Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Tue, 6 Feb 2024 00:37:31 +0200 Subject: core/glibc: Disable CET for all architectures Resolves configure: error: "CET is only supported on x86_64 or x32" --- core/glibc/PKGBUILD | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD index 63391bbd..eb3971c3 100644 --- a/core/glibc/PKGBUILD +++ b/core/glibc/PKGBUILD @@ -39,15 +39,6 @@ if [ "${CARCH}" = "i486" ]; then /make -O check/d ' )" - - # disable CET (Control Flow instructions endbr32/enbr64) - eval "$( - declare -f build | \ - sed ' - s/--enable-cet/--disable-cet/ - ' - )" - fi # pentium4 specific @@ -132,3 +123,11 @@ eval "$( # ignoring tests for now (they hang, checked manually, see skip_tests above) unset check + +# disable CET (Control Flow instructions endbr32/enbr64) +eval "$( + declare -f build | \ + sed ' + s/--enable-cet/--disable-cet/ + ' +)" -- cgit v1.2.3-70-g09d2