Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-12-07 10:01:51 +0100
committerErich Eckner <git@eckner.net>2017-12-07 10:01:51 +0100
commit31070a2a19e472a8d93afc9dbcc236ae78f572b5 (patch)
tree6bf2a56957551d08a34adc970d7f8296c70ec366
parent11825970b2dc331ed3769c2bf26eb41c7d84aaf9 (diff)
core/glibc: bring back more stuff from i686
-rw-r--r--core/glibc/PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
index 53ec2daf..c572ade3 100644
--- a/core/glibc/PKGBUILD
+++ b/core/glibc/PKGBUILD
@@ -1,16 +1,23 @@
# remove lib32-* stuff
pkgname=(${pkgname[@]/lib32-*/})
+unset -f 'package_lib32-glibc'
eval "$(
declare -f build | \
sed '
2 a export CFLAGS="$CFLAGS -mno-tls-direct-seg-refs"
s,https://bugs.archlinux.org/,https://bugs.archlinux32.org/,
+ \,cd .*/lib32-glibc-build,{
+ i }
+ q
+ }
'
declare -f package_glibc | \
sed '
s,usr/lib/libmvec-\*\.so,,
s/\S*,mvec\S*//
+ s,STRIP_BINARIES ,\0usr/bin/lddlibc4 ,
+ s,STRIP_STATIC ,\0usr/lib/libm.a ,
'
)"