summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-02-23 19:25:08 -0800
committerH. Peter Anvin <hpa@zytor.com>2017-02-23 19:25:08 -0800
commit0c396acb6a80755ce9704e8110bc8701ac96713f (patch)
tree75e8f55c0a3ba2b5d9f8fef178519488b831c63c
parent92d53b58b1e0fef7e74c63357898ebca6aaff817 (diff)
downloadnasmbuild-0c396acb6a80755ce9704e8110bc8701ac96713f.tar.gz
nasmbuild-0c396acb6a80755ce9704e8110bc8701ac96713f.tar.xz
nasmbuild-0c396acb6a80755ce9704e8110bc8701ac96713f.zip
Fix the building of MacOS X binaries, add x86-64 to output
-rwxr-xr-xbuildall.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/buildall.sh b/buildall.sh
index 8e69183..1c02e9e 100755
--- a/buildall.sh
+++ b/buildall.sh
@@ -120,8 +120,9 @@ build () {
mkdir -p macosx/nasm-$version
cp -a nasm-$version macosx/nasm-$version.work
cd macosx/nasm-$version.work
- CC='darwinx-gcc' LDFLAGS='-s' ./configure --host=i686-apple-darwin9
- $makej CC='darwinx-gcc -arch i386 -arch ppc'
+ CC='darwinx-gcc -arch i386 -arch x86_64 -arch ppc' \
+ ./configure --host=i686-apple-darwin10
+ $makej
mv LICENSE README doc/nasmdoc.pdf ../nasm-$version/
make install INSTALLROOT=`pwd`/../nasm-$version bindir= mandir=
make install_rdf INSTALLROOT=`pwd`/../nasm-$version bindir= mandir=