summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/Makefile b/llvm/tools/Makefile
index 86ba72ddacc..58130570d7a 100644
--- a/llvm/tools/Makefile
+++ b/llvm/tools/Makefile
@@ -42,8 +42,7 @@ ifeq ($(ENABLE_PIC),1)
# gold only builds if binutils is around. It requires "lto" to build before
# it so it is added to DIRS.
ifdef BINUTILS_INCDIR
- PARALLEL_DIRS += gold
- DIRS += lto
+ DIRS += lto gold
else
PARALLEL_DIRS += lto
endif
OpenPOWER on IntegriCloud