aboutsummaryrefslogtreecommitdiffstats
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)
downloadexternal_llvm-7ebc3777de7a60a87d6a17a17788f42aa94717fa.zip
external_llvm-7ebc3777de7a60a87d6a17a17788f42aa94717fa.tar.gz
external_llvm-7ebc3777de7a60a87d6a17a17788f42aa94717fa.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
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 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