Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 84509f8b..0fe06513 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -841,18 +841,18 @@ tidy_install() {
fi
if [[ $(check_option strip) = y && -n ${STRIP_DIRS[*]} ]]; then
- msg2 "$(gettext "Stripping debugging symbols from binaries and libraries...")"
+ msg2 "$(gettext "Stripping unneeded symbols from binaries and libraries...")"
local binary
find ${STRIP_DIRS[@]} -type f -writable 2>/dev/null | while read binary ; do
case "$(file -biz "$binary")" in
*compressed-encoding*) # Skip compressed binaries
;;
*application/x-sharedlib*) # Libraries (.so)
- /usr/bin/strip -S "$binary";;
+ /usr/bin/strip $STRIP_SHARED "$binary";;
*application/x-archive*) # Libraries (.a)
- /usr/bin/strip -S "$binary";;
+ /usr/bin/strip $STRIP_STATIC "$binary";;
*application/x-executable*) # Binaries
- /usr/bin/strip "$binary";;
+ /usr/bin/strip $STRIP_BINARIES "$binary";;
esac
done
fi