diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-09-03 16:33:45 +0000 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-09-03 16:33:45 +0000 |
commit | cf8591cf15913aa4cfbe310fbef49047d69edaad (patch) | |
tree | f7cde9b505c4e26af45232e5533a293b221cf2e7 /core/glibc | |
parent | 9e5ade11313636f9510ecc3bf06190beaba1446b (diff) | |
download | packages-cf8591cf15913aa4cfbe310fbef49047d69edaad.tar.xz |
core/glibc: disabled CET for i486
Diffstat (limited to 'core/glibc')
-rw-r--r-- | core/glibc/PKGBUILD | 9 |
1 files changed, 9 insertions, 0 deletions
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 |