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-m32 b/release/build-osx-m32
new file mode 100755
index 0000000..f2feeaa
--- /dev/null
+++ b/release/build-osx-m32
@@ -0,0 +1,16 @@
+#!/bin/sh
+# This script builds a 32-bit version of TigerVNC on OS/X 10.4 or later.  The
+# resulting version of TigerVNC is not backward compatible.
+
+set -e
+
+SCRIPTDIR=`dirname $0`
+pushd $SCRIPTDIR/..
+CFLAGS='-O3 -m32'
+CXXFLAGS=$CFLAGS
+LDFLAGS=$CFLAGS
+export CFLAGS CXXFLAGS LDFLAGS
+autoreconf -fiv
+configure
+make
+popd