aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-07-16 01:29:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-07-16 01:29:50 +0000
commite160a520ce94adfb1e1afbaddc2bd5ea7cd12d5c (patch)
tree22d9795ea3c3c20ee8e88a81a9e4ee92de8adc42 /Makefile
parent2969016070111ab5a22f29b9f6becad1769fc0f7 (diff)
build/Clang: Build and install libLTO as part of clang-only/install-clang targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108493 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d42f887b6b..e5d6543632 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,8 @@ endif
ifeq ($(MAKECMDGOALS),install-clang)
DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
- tools/clang/runtime tools/clang/docs
+ tools/clang/runtime tools/clang/docs \
+ tools/lto
OPTIONAL_DIRS :=
NO_INSTALL = 1
endif
@@ -78,7 +79,8 @@ ifeq ($(MAKECMDGOALS),install-clang-c)
endif
ifeq ($(MAKECMDGOALS),clang-only)
- DIRS := $(filter-out tools runtime docs unittests, $(DIRS)) tools/clang
+ DIRS := $(filter-out tools runtime docs unittests, $(DIRS)) \
+ tools/clang tools/lto
OPTIONAL_DIRS :=
endif