build/macosx/common
author Mark Banner <bugzilla@standard8.plus.com>
Tue, 28 Aug 2012 08:48:38 +0100
changeset 13571 4d2cbb05b773b5036504f7ffb48cf07cfa593168
parent 13231 2019e8845fbfd133c0d6dc246c1ae6392dc4cfa6
permissions -rw-r--r--
Port bug 781302 - Drop support for gcc 4.2 - to fix make check orange on comm-central. r=bustage-fix

if [ -d "$topsrcdir/clang" ]; then
    # mozilla-central based build
    export CC=$topsrcdir/clang/bin/clang
    export CXX=$topsrcdir/clang/bin/clang++
elif [ -d "$topsrcdir/../clang" ]; then
    # comm-central based build
    export CC=$topsrcdir/../clang/bin/clang
    export CXX=$topsrcdir/../clang/bin/clang++
fi

ac_add_options --enable-stdcxx-compat
ac_add_options --with-ccache