Added scripts for building cross-compatible binaries and 64-bit binaries on OS/X
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3945 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/release/build-osx-64 b/release/build-osx-64
new file mode 100755
index 0000000..417450f
--- /dev/null
+++ b/release/build-osx-64
@@ -0,0 +1,15 @@
+#!/bin/sh
+# This script builds a 64-bit version of TigerVNC on OS/X 10.6 or later.
+# NASM 2.07 or later from MacPorts must be installed in /opt/local.
+
+set -e
+
+SCRIPTDIR=`dirname $0`
+pushd $SCRIPTDIR/..
+CFLAGS='-O3'
+CXXFLAGS=$CFLAGS
+export CFLAGS CXXFLAGS
+autoreconf -fiv
+configure --host=x86_64-apple-darwin10.0.0 NASM=/opt/local/bin/nasm
+make
+popd