Fixes for cross-compilation on mips

(issue #8058, ywalther, with some modifications)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-11-01 22:51:21 +00:00
parent af3e243994
commit 468fbbf3ca
6 changed files with 54 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ FILTER="grep -v -e ^ast_ -e ^_ast_ -e ^__ast_ -e ^astman_ -e ^pbx_"
case "${OSARCH}" in
linux-gnu)
nm ${1} | grep -e " T " | cut -d" " -f3 | ${FILTER} > striplist
sed -e "s/^/-N /" striplist | xargs strip ${1}
sed -e "s/^/-N /" striplist | xargs ${STRIP} ${1}
rm -f striplist
;;
*)