Merged revisions 123909 via svnmerge from
[asterisk/asterisk.git] / build_tools / strip_nonapi
index fe62c3d..17492e6 100755 (executable)
@@ -30,7 +30,7 @@ esac
 case "${OSARCH}" in
     linux-gnu|FreeBSD)
        nm ${1} | ${GREP} -e "$TEXTSYM" | cut -d" " -f3 | ${FILTER} > striplist
 case "${OSARCH}" in
     linux-gnu|FreeBSD)
        nm ${1} | ${GREP} -e "$TEXTSYM" | cut -d" " -f3 | ${FILTER} > striplist
-       sed -e "s/^/-N /" striplist | xargs ${STRIP} ${1}
+       sed -e "s/^/-N /" striplist | xargs -n 40 ${STRIP} ${1}
        rm -f striplist
        ;;
     *)
        rm -f striplist
        ;;
     *)