-gline-tables-only is better passed to --enable-debug or --enable-debug-symbols than via abuse of --enable-optimize. --enable-optimize was being passed -O2 because passing -gline-tables-only would have removed optimizations. This has the side effect of changing the optimization level on macOS, though, so there we keep the override. --disable-debug is the default, remove it. --enable-project=browser is the default, remove it. --enable-optimize is the default, remove it. --enable-debug-symbols is the default, remove it. --disable-sandbox is the default on tsan builds, remove it. --enable-optimize="-O2 -g" is, essentially, the default, remove it. --with-android-min-sdk=21 is the default, remove it. X11 builds only have the X11 headers, so technically speaking the cairo-gtk3 toolkit is fine because it does the right fallback, but using cairo-gtk3-x11-only is more explicit and would avoid surprises. MOZ_DEBUG_SYMBOLS has been a no-op for essentially forever. Differential Revision: https://phabricator.services.mozilla.com/D227311
16 lines
341 B
Plaintext
16 lines
341 B
Plaintext
. "$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-x11-only
|
|
;;
|
|
*)
|
|
ac_add_options --enable-default-toolkit=cairo-gtk3-x11-wayland
|
|
;;
|
|
esac
|
|
|
|
export MOZ_NO_PIE_COMPAT=1
|