Bug 1415057: Disable compiler environment on linux32 L10N repacks. r=me a=jorgk DONTBUILD
new file mode 100644
--- /dev/null
+++ b/build/mozconfig.no-compile
@@ -0,0 +1,19 @@
+ac_add_options --disable-compile-environment
+
+# In case mozconfig.cache was already included
+unset CCACHE
+unset SCCACHE_VERBOSE_STATS
+# In case it wasn't
+NO_CACHE=1
+
+# Override any toolchain defines we've inherited from other mozconfigs.
+unset CC
+unset CXX
+unset HOST_CC
+unset HOST_CXX
+unset RUSTC
+unset CARGO
+unset MAKECAB
+unset TOOLCHAIN_PREFIX
+unset BINDGEN_CFLAGS
+unset LLVM_CONFIG
--- a/mail/config/mozconfigs/linux32/l10n-mozconfig
+++ b/mail/config/mozconfigs/linux32/l10n-mozconfig
@@ -2,18 +2,17 @@
# Disable webrender on Linux buildbot builders to avoid the Rust requirement
# of libX11 version > 1.4.99.1 (see bug 1350011).
ac_add_options --disable-webrender
ac_add_options --enable-application=mail
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-l10n-base=../../l10n
-# The compile environment is needed for Linux, see bug 1349300 and bug 1311045.
-# ac_add_options --disable-compile-environment
+. $topsrcdir/build/mozconfig.no-compile
# Build lightning locales
ac_add_options --enable-calendar
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
# For NSS symbols