fune/build/unix/mozconfig.linux
Mike Hommey 2e7b98cc2e Bug 1723869 - Setup X11-only Linux builds. r=sylvestre
A lot of work happens on the wayland backend, and it regularly breaks tier-3
systems where wayland is not supported. Setting up X11-only builds will help
catch those breakages earlier.

Differential Revision: https://phabricator.services.mozilla.com/D121691
2021-08-06 07:12:03 +00:00

21 lines
602 B
Text

. "$topsrcdir/build/unix/mozconfig.unix"
case "$PERFHERDER_EXTRA_OPTIONS" in
base-toolchains*)
# We don't build against wayland for base-toolchain builds.
;;
x11)
ac_add_options --enable-default-toolkit=cairo-gtk3
;;
*)
ac_add_options --enable-default-toolkit=cairo-gtk3-wayland
;;
esac
export MOZ_NO_PIE_COMPAT=1
if [ -z "$USE_ARTIFACT" -a -z "$TASKCLUSTER_PGO_PROFILE_USE" -a -z "$FORCE_GCC" ]; then
# Use LLD on most builds, for faster builds, but not on shippable ones because we
# want to keep elfhack there, which is incompatible.
ac_add_options --enable-linker=lld
fi