summaryrefslogtreecommitdiff
path: root/tools/Makefile
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
commit7ebc3777de7a60a87d6a17a17788f42aa94717fa (patch)
tree0b60d4350a1ec59ed2f5f888345559cb56646176 /tools/Makefile
parentbfc999956315ec0b29b4feb3780dd985e8e3f288 (diff)
downloadllvm-7ebc3777de7a60a87d6a17a17788f42aa94717fa.tar.gz
llvm-7ebc3777de7a60a87d6a17a17788f42aa94717fa.tar.bz2
llvm-7ebc3777de7a60a87d6a17a17788f42aa94717fa.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 86ba72ddac..58130570d7 100644
--- a/tools/Makefile
+++ b/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