[llvm-branch-commits] [cfe-branch] r125331 - /cfe/branches/Apple/whitney-IB/ClangBNI.mk
Daniel Dunbar
daniel at zuster.org
Thu Feb 10 17:47:05 PST 2011
Author: ddunbar
Date: Thu Feb 10 19:47:05 2011
New Revision: 125331
URL: http://llvm.org/viewvc/llvm-project?rev=125331&view=rev
Log:
Teach Whitney to install lto.h too.
Modified:
cfe/branches/Apple/whitney-IB/ClangBNI.mk
Modified: cfe/branches/Apple/whitney-IB/ClangBNI.mk
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney-IB/ClangBNI.mk?rev=125331&r1=125330&r2=125331&view=diff
==============================================================================
--- cfe/branches/Apple/whitney-IB/ClangBNI.mk (original)
+++ cfe/branches/Apple/whitney-IB/ClangBNI.mk Thu Feb 10 19:47:05 2011
@@ -255,7 +255,7 @@
Stage1_CXX := $(CXX)
# Set up any additional Clang install targets.
-Extra_Clang_Install_Targets :=
+Extra_Clang_Install_Targets := install-lto-h
# Install /usr/... symlinks?
ifeq ($(Post_Install_RootLinks),1)
@@ -601,6 +601,10 @@
ln -sf ../../../../../usr/bin/clang++ $(DSTROOT)/$(Install_Prefix)/bin/clang++
endif
+install-lto-h:
+ $(MKDIR) -p $(DSTROOT)/$(Install_Prefix)/local/include/llvm-c
+ $(INSTALL_FILE) $(Sources)/include/llvm-c/lto.h $(DSTROOT)/$(Install_Prefix)/local/include/llvm-c
+
##
# Cross Compilation Build Support
More information about the llvm-branch-commits
mailing list