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
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index 5e8369c..3aa5588 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -341,6 +341,9 @@
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.