From 53ea233649d12d77233611e272cf5f470177571c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 25 Apr 2008 15:08:23 +0100 Subject: [PATCH] Don't compile files twice when the compilation fails. Andrew Bartlett --- source/build/make/rules.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/build/make/rules.mk b/source/build/make/rules.mk index 541fa018db7..8c5b1fe6f34 100644 --- a/source/build/make/rules.mk +++ b/source/build/make/rules.mk @@ -212,8 +212,7 @@ include/includes.d: include/includes.h @-mkdir -p `dirname $@` @$(COMPILE) && exit 0 ; \ echo "The following command failed:" 1>&2;\ - echo "$(COMPILE)" 1>&2;\ - $(COMPILE) >/dev/null 2>&1 + echo "$(COMPILE)" 1>&2 && exit 1 -- 2.11.4.GIT