Skip to content
Snippets Groups Projects
Commit 83caa2d8 authored by Mike Hommey's avatar Mike Hommey
Browse files

Bug 1802075 - Avoid calling "--stop-server" as a command on local build...

Bug 1802075 - Avoid calling "--stop-server" as a command on local build failure. r=firefox-build-system-reviewers,andi

Differential Revision: https://phabricator.services.mozilla.com/D162814
parent 667209b7
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ endif
MOZ_MAKE = $(MAKE) $(MOZ_MAKE_FLAGS) -C $(OBJDIR)
ifdef MOZBUILD_MANAGE_SCCACHE_DAEMON
# In automation, manage an sccache daemon. The starting of the server
# needs to be in a make file so sccache inherits the jobserver.
SCCACHE_STOP = $(MOZBUILD_MANAGE_SCCACHE_DAEMON) --stop-server
......@@ -42,6 +43,7 @@ SCCACHE_STOP = $(MOZBUILD_MANAGE_SCCACHE_DAEMON) --stop-server
# However, we also need to preserve the command's exit code, thus the
# gymnastics.
SCCACHE_STOP_ON_FAILURE = || (x=$$?; $(SCCACHE_STOP) || true; exit $$x)
endif
# The default rule is build
build:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment