. "$topsrcdir/browser/config/mozconfigs/macosx64/nightly"

ac_add_options --disable-lto

TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}

ac_add_options --disable-sandbox
ac_add_options --disable-warnings-as-errors
ac_add_options --enable-coverage

export CFLAGS="-coverage -Xclang -coverage-no-function-names-in-data"
export CXXFLAGS="-coverage -Xclang -coverage-no-function-names-in-data"
export LDFLAGS="-coverage -L$topsrcdir/clang/lib/clang/7.0.1/lib/darwin/"
export LIBS="-lclang_rt.profile_osx"
export RUSTFLAGS="-Ccodegen-units=1 -Zprofile -Zno-landing-pads"
