8077814: Add .DELETE_ON_ERROR to makefiles

Reviewed-by: tbell, ihse
This commit is contained in:
Erik Joelsson 2015-04-16 12:39:43 +02:00
parent fb08581429
commit 7f3a8ab26c

View File

@ -36,6 +36,10 @@ ifeq ($(wildcard $(SPEC)),)
$(error MakeBase.gmk needs SPEC set to a proper spec.gmk)
endif
# By defining this pseudo target, make will automatically remove targets
# if their recipe fails so that a rebuild is automatically triggered on the
# next make invocation.
.DELETE_ON_ERROR:
##############################
# Functions