aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2006-09-08 18:00:43 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2006-09-08 18:00:43 +0000
commit294492b25f9a953e9210e4e1a23465e1b599fef8 (patch)
tree9cb912d0a5d46f87b9822db5b8b3ab441b24e82d /tools/Makefile
parent0a200600e777c8aac9646c9cba69693155a8142c (diff)
downloadexternal_llvm-294492b25f9a953e9210e4e1a23465e1b599fef8.zip
external_llvm-294492b25f9a953e9210e4e1a23465e1b599fef8.tar.gz
external_llvm-294492b25f9a953e9210e4e1a23465e1b599fef8.tar.bz2
Enabling LTO building on Darwin only right now. This probably should be
removed after 'PIC vs non-PIC' problem solution git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 1c29a3d..56f17d8 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -18,7 +18,9 @@ PARALLEL_DIRS := llvm-config \
bugpoint llvm-db llvm-extract \
gccas llvm-bcanalyzer llvm-stub \
gccld llvm2cpp \
- llvm-ld llvmc llvm-prof \
- lto
+ llvm-ld llvmc llvm-prof
+ifeq ($(OS), Darwin)
+PARALLEL_DIRS += lto
+endif
include $(LEVEL)/Makefile.common