From 88fae0edcce84920ba7c5685c36f6bd6cfb9b86d Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Thu, 19 Sep 2013 22:15:52 +0000 Subject: Fix LTO handling of module-level assembly (PR14152). Patch by Tom Roeder! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191042 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tools/Makefile') diff --git a/tools/Makefile b/tools/Makefile index b7375c9..d3d4593 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -54,11 +54,10 @@ endif ifndef ONLY_TOOLS ifeq ($(ENABLE_PIC),1) # gold only builds if binutils is around. It requires "lto" to build before - # it so it is added to DIRS. + # it so it is added to DIRS. llvm-lto also requires lto + DIRS += lto llvm-lto ifdef BINUTILS_INCDIR - DIRS += lto gold - else - PARALLEL_DIRS += lto + DIRS += gold endif PARALLEL_DIRS += bugpoint-passes -- cgit v1.1