summaryrefslogtreecommitdiffstats
path: root/build/mozconfig.no-compile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build/mozconfig.no-compile33
1 files changed, 33 insertions, 0 deletions
diff --git a/build/mozconfig.no-compile b/build/mozconfig.no-compile
new file mode 100644
index 0000000000..792e9ca057
--- /dev/null
+++ b/build/mozconfig.no-compile
@@ -0,0 +1,33 @@
+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 LINKER
+unset RUSTFLAGS
+unset TOOLCHAIN_PREFIX
+unset BINDGEN_CFLAGS
+unset ENABLE_CLANG_PLUGIN
+unset MACOS_SDK_DIR
+unset MACOS_PRIVATE_FRAMEWORKS_DIR
+unset DIA_SDK_PATH
+unset VC_PATH
+unset WINDOWSSDKDIR
+unset MOZ_LTO
+
+unset MOZ_STDCXX_COMPAT
+unset MOZ_NO_PIE_COMPAT
+
+# Don't unset this on Linux artifact builds so the artifact builds correctly
+# package any Wasm sandboxed shared libraries.
+if test `uname -s` != Linux; then
+ unset WASM_SANDBOXED_LIBRARIES
+fi