build/mozconfig.no-compile
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 21 Dec 2017 11:13:08 +0900
changeset 449033 81b25e99112c8bcb319b3a92890529ac9646f704
parent 419962 ec7aeeaae3a84c36f0344067979020fd9037c2e6
child 453481 adce260df59b15ae413452c3bf2009c17752793a
permissions -rw-r--r--
Bug 1426555 - Move --enable-stdcxx-compat to python configure. r=chmanchester At the same time, we make it actually do something on spidermonkey builds. We also add an environment variable alternative, that we use in mozconfig.stdcxx, allowing for mozconfig.no-compile to override it and avoid configure failures on e.g. artifact builds.

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

unset MOZ_STDCXX_COMPAT