aboutsummaryrefslogtreecommitdiffstats
path: root/utils/buildit/GNUmakefile
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-04-28 21:08:01 +0000
committerBob Wilson <bob.wilson@apple.com>2010-04-28 21:08:01 +0000
commitb8485d69c10415c1784d429ebac504b9a34a45a2 (patch)
treecfbb8ee06a30dea96b223d35abd6d8082d050c3e /utils/buildit/GNUmakefile
parentd100755bab38784703f677b8b8eb174b624b346b (diff)
downloadexternal_llvm-b8485d69c10415c1784d429ebac504b9a34a45a2.zip
external_llvm-b8485d69c10415c1784d429ebac504b9a34a45a2.tar.gz
external_llvm-b8485d69c10415c1784d429ebac504b9a34a45a2.tar.bz2
Add an option to the Apple-style build to control whether libLTO.dylib should
be installed. Disable it by default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102531 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/buildit/GNUmakefile')
-rw-r--r--utils/buildit/GNUmakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/buildit/GNUmakefile b/utils/buildit/GNUmakefile
index c9a7a5e..e0568d2 100644
--- a/utils/buildit/GNUmakefile
+++ b/utils/buildit/GNUmakefile
@@ -46,6 +46,9 @@ else
LLVM_OPTIMIZED := yes
endif
+# Default to not install libLTO.dylib.
+INSTALL_LIBLTO := no
+
ifndef RC_ProjectSourceVersion
RC_ProjectSourceVersion = 9999
endif
@@ -59,7 +62,7 @@ install: $(OBJROOT) $(SYMROOT) $(DSTROOT)
cd $(OBJROOT) && \
$(SRC)/utils/buildit/build_llvm "$(RC_ARCHS)" "$(TARGETS)" \
$(SRC) $(PREFIX) $(DSTROOT) $(SYMROOT) \
- $(ENABLE_ASSERTIONS) $(LLVM_OPTIMIZED) \
+ $(ENABLE_ASSERTIONS) $(LLVM_OPTIMIZED) $(INSTALL_LIBLTO) \
$(RC_ProjectSourceVersion) $(RC_ProjectSourceSubversion)
# installhdrs does nothing, because the headers aren't useful until