Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/glibc/PKGBUILD
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/glibc/PKGBUILD
parent45ee2caaa39e4c94fda4d796944a841993ce0ee8 (diff)
core/glibc: emergency patching for ISA misguessing (FS32#145)
Diffstat (limited to 'core/glibc/PKGBUILD')
-rw-r--r--core/glibc/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
index d8798b49..078be08d 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
+