gecko-dev/browser/config/mozconfigs/macosx64/nightly-fuzzing-asan
Mike Shal aa51b83c3a Bug 1536194 - Fix uses of MOZ_LTO in a few mozconfigs; r=firefox-build-system-reviewers,glandium
After bug 1530908 changed LTO to be environment driven, the macosx64
nightly mozconfig enables LTO by setting MOZ_LTO=1. The add-on-devel
mozconfig tried to disable LTO by using --disable-lto, but the
environment variable takes precedence, leaving LTO enabled for these
builds. This pushed the build time up to be close to the max runtime for
the task, causing frequent intermittent failures.

We should 'unset MOZ_LTO' everywhere that --disable-lto was used, and
'export MOZ_LTO=1' everywhere --enable-lto was used.

Differential Revision: https://phabricator.services.mozilla.com/D26608

--HG--
extra : moz-landing-system : lando
2019-04-09 06:37:06 +00:00

4 lines
109 B
Plaintext

. "$topsrcdir/browser/config/mozconfigs/macosx64/nightly-asan"
unset MOZ_LTO
ac_add_options --enable-fuzzing