Signed-off-by: Andres P <[email protected]>
---
 scripts/makepkg.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 28c7879..0bfb607 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -865,7 +865,7 @@ tidy_install() {
                done
        fi
 
-       if [[ $(check_option strip) = y && -n ${STRIP_DIRS[*]} ]]; then
+       if [[ $(check_option strip) = "y" && $arch != "any" && $STRIP_DIRS ]]; 
then
                msg2 "$(gettext "Stripping unneeded symbols from binaries and 
libraries...")"
                # make sure library stripping variables are defined to prevent 
excess stripping
                [[ -z ${STRIP_SHARED+x} ]] && STRIP_SHARED="-S"
-- 
1.7.1


Reply via email to