summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-03-09 09:03:21 +0000
committerDuncan Sands <baldrick@free.fr>2010-03-09 09:03:21 +0000
commit5674c3478011ead8e4920f3bb69a2f3a6df63a5a (patch)
treedbc9c492205bff022c009811a52df20a35fd419b /llvm/tools
parent51063739a49255d519a4f96a0e148b473dbdfbba (diff)
downloadbcm5719-llvm-5674c3478011ead8e4920f3bb69a2f3a6df63a5a.tar.gz
bcm5719-llvm-5674c3478011ead8e4920f3bb69a2f3a6df63a5a.zip
Attempt to fix random build failures seen when doing highly
parallel builds: the gold plugin fails to link because the lto library is in the middle of being written out by the linker. llvm-svn: 98054
Diffstat (limited to 'llvm/tools')
-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