From 0a45fa9348638836de8f4c1e51465834b94023d1 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 30 Nov 2007 23:27:57 +0000 Subject: [PATCH] Change lib lto install location. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44476 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/buildit/build_llvm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index 56d8fc82bef..5e03e8d9c23 100755 --- a/utils/buildit/build_llvm +++ b/utils/buildit/build_llvm @@ -166,6 +166,15 @@ fi cd $DEST_DIR$DEST_ROOT lipo -extract ppc -extract i386 lib/LLVMlto.0.0.0.so -output lib/LLVMlto.0.0.0.so +# LTO is part of developer tools +LTO_HOME=$DEST_DIR//Developer/usr/lib +if [ "x$DEVELOPER_BIN" != "x" ]; then +LTO_HOME=$DEST_DIR/$DEVELOPER_DIR/usr/lib +fi + +mkdir -p $LTO_HOME +mv lib/LLVMlto* $LTO_HOME/. + ################################################################################ # Create SYM_DIR with information required for debugging. -- 2.34.1