From 5674c3478011ead8e4920f3bb69a2f3a6df63a5a Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 9 Mar 2010 09:03:21 +0000 Subject: 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 --- llvm/tools/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/tools') 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 -- cgit v1.2.3