INSTALL: fix build on Snow Leopard
http://codereview.appspot.com/116073
This commit is contained in:
parent
a673ea2203
commit
fa662c9571
10 changed files with 30 additions and 4 deletions
8
bin/9a
8
bin/9a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue