Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-25 15:41:12 +0200
committerErich Eckner <git@eckner.net>2018-04-25 15:41:12 +0200
commit8a7888b2d23d79de6826763301320ad7dab1357d (patch)
treec5c6459d682f305a12041e049d9370d7e30b9402 /bin/build-packages
parent98082a53d27bdc880b47ada00c9300f3094e18fc (diff)
bin/build-packages: make architecture filter of libraries more precise
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages
index c109feb..fc80ab1 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -467,7 +467,7 @@ while [ "${count}" -ne 0 ]; do
-name 'opt' -prune , \
-exec objdump -x '{}' \; 2>/dev/null | \
sed '
- / i386:x86-64, /,/ i386:x86-32, / d
+ /^architecture:.* i386:x86-64, /,/^architecture:.* i386:x86-32, / d
' | \
grep -w 'NEEDED' | \
awk '{print $2}' | \