summaryrefslogtreecommitdiff
path: root/core/glibc
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-12-07 09:44:55 +0100
committerErich Eckner <git@eckner.net>2017-12-07 09:44:55 +0100
commitb8c964c8e611e60c10dc0848149e7f6440d81707 (patch)
tree868626dd477ab518fbc8adbb2ac2756d5c329f8e /core/glibc
parent9e10f53b503085d91ef1aa254d55b58871fbf589 (diff)
downloadpackages-b8c964c8e611e60c10dc0848149e7f6440d81707.tar.xz
core/glibc: bring back i686 specific stuff
Diffstat (limited to 'core/glibc')
-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*//
+ '
+)"