From 2404c3928f81ace10d23f32c427d61d776b43341 Mon Sep 17 00:00:00 2001
From: Tim Angus <tim@ngus.net>
Date: Tue, 26 Mar 2013 20:58:55 +0000
Subject: Fix 'make -jX clean release'

---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index f80c9dd7..ddabdf2c 100644
--- a/Makefile
+++ b/Makefile
@@ -2348,3 +2348,8 @@ endif
 	release targets \
 	toolsclean toolsclean2 toolsclean-debug toolsclean-release \
 	$(OBJ_D_FILES) $(TOOLSOBJ_D_FILES)
+
+# If the target name contains "clean", don't do a parallel build
+ifneq ($(findstring clean, $(MAKECMDGOALS)),)
+.NOTPARALLEL:
+endif
-- 
cgit