diff --git a/llvm/lib/Target/Makefile b/llvm/lib/Target/Makefile index 81e84745b725..59f50fef0bd8 100644 --- a/llvm/lib/Target/Makefile +++ b/llvm/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