aboutsummaryrefslogtreecommitdiff
path: root/utils/buildit
diff options
context:
space:
mode:
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.