summaryrefslogtreecommitdiffstats
path: root/build/macosx/mozconfig.common
blob: ad234d290f1f5549c0218f64f50532b0815454e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if test `uname -s` = Linux; then
  . $topsrcdir/build/macosx/cross-mozconfig.common
else
  . $topsrcdir/build/macosx/local-mozconfig.common
fi

if [ -z "$USE_ARTIFACT" ]; then
    if [ -n "$TASKCLUSTER_PGO_PROFILE_USE" ]; then
        export MOZ_LTO=cross
        ac_add_options --enable-profile-use=cross
        ac_add_options --with-pgo-jarlog=${MOZ_FETCHES_DIR}/en-US.log
        ac_add_options --with-pgo-profile-path=${MOZ_FETCHES_DIR}/merged.profdata
    fi
fi