aboutsummaryrefslogtreecommitdiff
path: root/utils/buildit
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2011-02-25 20:42:39 +0000
committerStuart Hastings <stuart@apple.com>2011-02-25 20:42:39 +0000
commit539f817e34bac85c1885218ca9065720cbb33ab0 (patch)
treeea4a1a88ef8c0ac9f6f754d78dbb223640066efc /utils/buildit
parent98ea4ce516f40beb3efe63e8fb9eee7a3124a7d9 (diff)
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
Diffstat (limited to 'utils/buildit')
-rwxr-xr-xutils/buildit/build_llvm3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index 5e8369cdd3..3aa55884a9 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.