summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-02-11 13:23:49 +0000
committerDuncan Sands <baldrick@free.fr>2009-02-11 13:23:49 +0000
commit535e3e8df963e2d8327718518efd9ddc31faf42a (patch)
treee0631b1402e83a2ff82d1ace8c68fe56150d5ad9 /tools/Makefile
parentb91a2a17d3872805018034181182cd1def199cd2 (diff)
downloadllvm-535e3e8df963e2d8327718518efd9ddc31faf42a.tar.gz
llvm-535e3e8df963e2d8327718518efd9ddc31faf42a.tar.bz2
llvm-535e3e8df963e2d8327718518efd9ddc31faf42a.tar.xz
Revert r64299: it breaks the build when configured
without --enable-pic, like my nightly tester. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64302 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 471cdd0c2d..a296f81870 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -25,11 +25,10 @@ PARALLEL_DIRS := llvm-config \
include $(LEVEL)/Makefile.config
-# build lto project on Darwin or if PIC is enabled
+# only build new lto project on Darwin for now
ifeq ($(OS),Darwin)
PARALLEL_DIRS += lto
-else ($(ENABLE_PIC),1)
-PARALLEL_DIRS += lto
+
ifdef BINUTILS_INCDIR
PARALLEL_DIRS += gold
endif