summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-01-26 03:04:57 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-01-26 03:04:57 +0000
commit12817413113b6d0e33ecedea6723bbd03d2eb012 (patch)
tree8b104c710136b9db0497b5d7eb4af5b4f707ec0e /tools/Makefile
parent34509841e747f155adea8608af727e1a83c35dae (diff)
downloadllvm-12817413113b6d0e33ecedea6723bbd03d2eb012.tar.gz
llvm-12817413113b6d0e33ecedea6723bbd03d2eb012.tar.bz2
llvm-12817413113b6d0e33ecedea6723bbd03d2eb012.tar.xz
Build libLTO on any platform so long as PIC is enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62987 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 519717ad98..909a54843b 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -25,8 +25,7 @@ PARALLEL_DIRS := llvm-config \
include $(LEVEL)/Makefile.config
-# only build new lto project on Darwin for now
-ifeq ($(OS),Darwin)
+ifeq ($(ENABLE_PIC),1)
PARALLEL_DIRS += lto
endif