Explorar o código

Stop Recursive Compilation on Errors

JDierkse %!s(int64=5) %!d(string=hai) anos
pai
achega
58be4141e4
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -155,7 +155,11 @@ $(SUBDIRS):
 		done; \
 		true; \
 		echo " <$@>"; \
-		$(MAKE) -s -S -C $@ artifacts $(ARCH); \
+		if ($(MAKE) -s -S -C $@ artifacts $(ARCH)); then \
+			:; \
+		else \
+			exit $$?; \
+		fi; \
 		depth=$(MAKELEVEL); \
 		while [ $${depth} -gt 0 ] ; do \
 			echo -n " "; \