config/functions: add function to strip debug syms

This commit is contained in:
Lukas Rusak 2016-01-31 00:22:02 +01:00
parent 1b6da2aaff
commit d3994785de

View File

@ -436,3 +436,10 @@ show_config() {
echo -e "$config_message"
}
# strip
debug_strip() {
if [ ! "$DEBUG" = yes ]; then
$STRIP `find $* -type f -executable 2>/dev/null` 2>/dev/null || :
fi
}