From fa662c9571e92d5fc4f36414723bbaed1e11b278 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 11 Sep 2009 13:51:50 -0400 Subject: INSTALL: fix build on Snow Leopard http://codereview.appspot.com/116073 --- bin/9a | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bin/9a') diff --git a/bin/9a b/bin/9a index f2984ffb..8178d24c 100755 --- a/bin/9a +++ b/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 -- cgit v1.2.3