diff --git a/build/mozconfig.cache b/build/mozconfig.cache index d3c99898e05d..33092c986154 100644 --- a/build/mozconfig.cache +++ b/build/mozconfig.cache @@ -87,4 +87,7 @@ if test -n "$bucket"; then # Workaround for https://github.com/mozilla/sccache/issues/459#issuecomment-618756635 mk_add_options "export SCCACHE_MAX_FRAME_LENGTH=50000000" mk_add_options MOZBUILD_MANAGE_SCCACHE_DAEMON=${MOZ_FETCHES_DIR}/sccache/sccache +elif test -n "$USE_SCCACHE"; then + echo "SetupError: sccache is enabled but there is no shared storage set up for it?" >&2 + exit 1 fi