From 539f817e34bac85c1885218ca9065720cbb33ab0 Mon Sep 17 00:00:00 2001 From: Stuart Hastings Date: Fri, 25 Feb 2011 20:42:39 +0000 Subject: [PATCH] Omit lto.h from the llvmCore result; henceforth, this will be supplied by clang. Radar 9042056. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126507 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/buildit/build_llvm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index 5e8369cdd32..3aa55884a98 100755 --- a/utils/buildit/build_llvm +++ b/utils/buildit/build_llvm @@ -341,6 +341,9 @@ else fi rm -f lib/libLTO.a lib/libLTO.la +// Omit lto.h from the result. Clang will supply. +find $DEST_DIR$DEST_ROOT -name lto.h -delete + ################################################################################ # Remove debugging information from DEST_DIR.