Omit lto.h from the llvmCore result; henceforth, this will be supplied
authorStuart Hastings <stuart@apple.com>
Fri, 25 Feb 2011 20:42:39 +0000 (20:42 +0000)
committerStuart Hastings <stuart@apple.com>
Fri, 25 Feb 2011 20:42:39 +0000 (20:42 +0000)
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

index 5e8369cdd326a1c21fea92ae319f46982bccc5cd..3aa55884a987842234ecb452a2dfa79f772dfbe0 100755 (executable)
@@ -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.