[llvm-branch-commits] [cfe-branch] r126695 - /cfe/branches/Apple/sill-IB/ClangBNI.mk

Daniel Dunbar daniel at zuster.org
Mon Feb 28 14:47:04 PST 2011


Author: ddunbar
Date: Mon Feb 28 16:47:04 2011
New Revision: 126695

URL: http://llvm.org/viewvc/llvm-project?rev=126695&view=rev
Log:
build: Tweak makefile.

Modified:
    cfe/branches/Apple/sill-IB/ClangBNI.mk

Modified: cfe/branches/Apple/sill-IB/ClangBNI.mk
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/sill-IB/ClangBNI.mk?rev=126695&r1=126694&r2=126695&view=diff
==============================================================================
--- cfe/branches/Apple/sill-IB/ClangBNI.mk (original)
+++ cfe/branches/Apple/sill-IB/ClangBNI.mk Mon Feb 28 16:47:04 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