build/Clang: Build and install libLTO as part of clang-only/install-clang targets.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 16 Jul 2010 01:29:50 +0000 (01:29 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 16 Jul 2010 01:29:50 +0000 (01:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108493 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index d42f887b6b18f175c3a094e4036917358b275482..e5d654363265e7480fe19f2f11dfb872d3dbbc40 100644 (file)
--- 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