aboutsummaryrefslogtreecommitdiffstats
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
commit3d89ba90d290ec3adab3aa9bda3117fedbde6167 (patch)
tree0b60d4350a1ec59ed2f5f888345559cb56646176
parent7f2525d3f032406712531d3341385e977abde4f2 (diff)
downloadexternal_llvm-3d89ba90d290ec3adab3aa9bda3117fedbde6167.zip
external_llvm-3d89ba90d290ec3adab3aa9bda3117fedbde6167.tar.gz
external_llvm-3d89ba90d290ec3adab3aa9bda3117fedbde6167.tar.bz2
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
-rw-r--r--tools/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 86ba72d..5813057 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