gecko/build/macosx/common
Rafael Ávila de Espíndola 481f8799c6 Bug 775305 - reenable ccache on os x. r=rail.
--HG--
extra : rebase_source : 1886a2adf54d89eec4924a2aec9be1cf16e79d99
2012-07-20 18:36:49 -04:00

13 lines
387 B
Plaintext

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