From cf8591cf15913aa4cfbe310fbef49047d69edaad Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 3 Sep 2018 16:33:45 +0000 Subject: core/glibc: disabled CET for i486 --- core/glibc/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD index 12033416..83751716 100644 --- a/core/glibc/PKGBUILD +++ b/core/glibc/PKGBUILD @@ -42,4 +42,13 @@ if [ "${CARCH}" = "i486" ]; then /make check/d ' )" + + # disable CET (Control Flow instructions endbr32/enbr64) + eval "$( + declare -f build | \ + sed ' + s/--enable-cet/--disable-cet/ + ' + )" + fi -- cgit v1.2.3-54-g00ecf