summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ,
'
)"