diff --git a/abuild.in b/abuild.in index 3e7ffaf..3ed5417 100644 --- a/abuild.in +++ b/abuild.in @@ -1679,7 +1679,7 @@ stripbin() { scanelf --recursive --nobanner --etype "ET_DYN,ET_EXEC" . \ | sed -e 's:^ET_DYN ::' -e 's:^ET_EXEC ::' \ | while read filename; do - XATTR=$(getfattr -d "${filename}") + XATTR=$(getfattr --match="*" --dump "${filename}") ${CROSS_COMPILE}strip "${filename}" [ -n "$XATTR" ] && (echo "$XATTR" | setfattr --restore=-) done