Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/glibc
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-09-03 16:33:45 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-09-03 16:33:45 +0000
commitcf8591cf15913aa4cfbe310fbef49047d69edaad (patch)
treef7cde9b505c4e26af45232e5533a293b221cf2e7 /core/glibc
parent9e5ade11313636f9510ecc3bf06190beaba1446b (diff)
core/glibc: disabled CET for i486
Diffstat (limited to 'core/glibc')
-rw-r--r--core/glibc/PKGBUILD9
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