misc setup-hooks: Use env vars to refer to binutils programs

This is more robust for cross-compilation
This commit is contained in:
John Ericson
2017-12-13 16:08:18 -05:00
parent 91ca46f693
commit b8a21aa918
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ stripDirs() {
if [ -n "${dirs}" ]; then
header "stripping (with flags $stripFlags) in$dirs"
find $dirs -type f -print0 | xargs -0 ${xargsFlags:--r} strip $commonStripFlags $stripFlags 2>/dev/null || true
find $dirs -type f -print0 | xargs -0 ${xargsFlags:--r} $STRIP $commonStripFlags $stripFlags 2>/dev/null || true
stopNest
fi
}