diff options
author | Russ Cox <russcox@gmail.com> | 2009-09-11 13:51:50 -0400 |
---|---|---|
committer | Russ Cox <russcox@gmail.com> | 2009-09-11 13:51:50 -0400 |
commit | fa662c9571e92d5fc4f36414723bbaed1e11b278 (patch) | |
tree | fa5953ca28ab8687e1186b4183d480a98feed2bc /bin/9a | |
parent | a673ea22035ad986afc84d44543cd232218ddbe9 (diff) | |
download | plan9port-fa662c9571e92d5fc4f36414723bbaed1e11b278.tar.gz plan9port-fa662c9571e92d5fc4f36414723bbaed1e11b278.tar.bz2 plan9port-fa662c9571e92d5fc4f36414723bbaed1e11b278.zip |
INSTALL: fix build on Snow Leopard
http://codereview.appspot.com/116073
Diffstat (limited to 'bin/9a')
-rwxr-xr-x | bin/9a | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |