# Options for client.mk.
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
mk_add_options AUTOCONF=autoconf213
mk_add_options MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZ_MAKE_FLAGS="-s --no-print-directory -j8"

# Options for cross-compilation on Snow Leopard.
HOST_CC="clang -arch i386"
HOST_CXX="clang++ -arch i386"
CC="clang -arch i386"
CXX="clang++ -arch i386"
RANLIB=ranlib
AR=ar
AS=$CC
LD=ld
STRIP="strip -x -S"
CROSS_COMPILE=1
ac_add_options --target=i386-apple-darwin$DARWIN_VERSION

# Options for 'configure' (same as command-line options).
ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.6.sdk
ac_add_options --enable-macos-target=10.5
ac_add_options --enable-application=browser
ac_add_options --enable-official-branding
ac_add_options --enable-optimize
ac_add_options --enable-strip
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --disable-crashreporter
ac_add_options --disable-webrtc

export CFLAGS="-Wno-return-type"
export CXXFLAGS="-Wno-return-type"
