INSTALL: fix build on Snow Leopard

http://codereview.appspot.com/116073
This commit is contained in:
Russ Cox 2009-09-11 13:51:50 -04:00
parent a673ea2203
commit fa662c9571
10 changed files with 30 additions and 4 deletions

8
bin/9a
View file

@ -5,5 +5,11 @@ if [ $# != 1 ]; then
exit 1
fi
aflags=""
case "`uname`" in
Darwin)
aflags="-arch i386"
esac
out=`echo $1 | sed 's/\.s$//;s/$/.o/'`
exec as -o $out $1
exec as $aflags -o $out $1