blob: 417450f7da030cddf26018029afb51740788eaa1 [file] [log] [blame]
DRCd4553932010-01-12 05:25:44 +00001#!/bin/sh
2# This script builds a 64-bit version of TigerVNC on OS/X 10.6 or later.
3# NASM 2.07 or later from MacPorts must be installed in /opt/local.
4
5set -e
6
7SCRIPTDIR=`dirname $0`
8pushd $SCRIPTDIR/..
9CFLAGS='-O3'
10CXXFLAGS=$CFLAGS
11export CFLAGS CXXFLAGS
12autoreconf -fiv
13configure --host=x86_64-apple-darwin10.0.0 NASM=/opt/local/bin/nasm
14make
15popd