summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/glibc/PKGBUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
new file mode 100644
index 00000000..53ec2daf
--- /dev/null
+++ b/core/glibc/PKGBUILD
@@ -0,0 +1,16 @@
+# remove lib32-* stuff
+
+pkgname=(${pkgname[@]/lib32-*/})
+
+eval "$(
+ declare -f build | \
+ sed '
+ 2 a export CFLAGS="$CFLAGS -mno-tls-direct-seg-refs"
+ s,https://bugs.archlinux.org/,https://bugs.archlinux32.org/,
+ '
+ declare -f package_glibc | \
+ sed '
+ s,usr/lib/libmvec-\*\.so,,
+ s/\S*,mvec\S*//
+ '
+)"