scripts/build: strip binaries

This commit is contained in:
Stefan Saraev 2016-01-31 00:21:56 +01:00 committed by Lukas Rusak
parent 66aa95e906
commit 1b6da2aaff

View File

@ -362,6 +362,8 @@ if [ ! -f $STAMP ]; then
if [ "$TARGET" = "init" ]; then
$STRIP `find $INSTALL -type f -name "*.so*" 2>/dev/null` 2>/dev/null || :
fi
$STRIP `find $INSTALL/bin $INSTALL/usr/bin $INSTALL/sbin $INSTALL/usr/sbin \
-type f -executable 2>/dev/null` 2>/dev/null || :
fi
fi
fi