aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Makefile b/lib/Target/Makefile
index 81e84745b7..59f50fef0b 100644
--- a/lib/Target/Makefile
+++ b/lib/Target/Makefile
@@ -15,5 +15,6 @@ BUILD_ARCHIVE = 1
# value for PARALLEL_DIRS which must be set before Makefile.rules is included
include $(LEVEL)/Makefile.config
-include $(LLVM_SRC_ROOT)/Makefile.rules
+PARALLEL_DIRS := $(TARGETS_TO_BUILD)
+include $(LLVM_SRC_ROOT)/Makefile.rules