summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-02-09 13:35:38 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-02-09 13:35:38 +0100
commit31a9432c51d3edb494791f85d6d2a62e7b5b52de (patch)
tree8eb7e8029dd470cef421f2f0e484d8c400613acd /core
parent45ee2caaa39e4c94fda4d796944a841993ce0ee8 (diff)
downloadpackages-31a9432c51d3edb494791f85d6d2a62e7b5b52de.tar.xz
core/glibc: emergency patching for ISA misguessing (FS32#145)
Diffstat (limited to 'core')
-rw-r--r--core/glibc/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
index d8798b4..078be08 100644
--- a/core/glibc/PKGBUILD
+++ b/core/glibc/PKGBUILD
@@ -64,3 +64,15 @@ if [ "${CARCH}" = "pentium4" ]; then
'
)"
fi
+
+# https://lwn.net/Articles/845329/, ISA-Level breakage in glibc 2.33
+# disabling all ISA level guessing for now (see FS32#145)
+eval "$(
+ declare -f build | \
+ sed '
+ s|--prefix=/usr|--prefix=/usr libc_cv_include_x86_isa_level=no|g
+ '
+)"
+# for now, must fix fast
+unset check
+