aboutsummaryrefslogtreecommitdiffstats
path: root/utils/buildit/build_llvm
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-04-29 18:04:29 +0000
committerBob Wilson <bob.wilson@apple.com>2010-04-29 18:04:29 +0000
commit619d03fa04c0ca56106ec04d20fa8e4f9273ac8d (patch)
treece5f900b069377a9d28f0ba692dd053b3cb254e6 /utils/buildit/build_llvm
parent5768ea9ca1409d7686b64607d6e0ad87d9d84c23 (diff)
downloadexternal_llvm-619d03fa04c0ca56106ec04d20fa8e4f9273ac8d.zip
external_llvm-619d03fa04c0ca56106ec04d20fa8e4f9273ac8d.tar.gz
external_llvm-619d03fa04c0ca56106ec04d20fa8e4f9273ac8d.tar.bz2
Don't remove libLTO.dylib if it's not being installed in Developer/usr/lib;
just leave it in Developer/usr/local/lib. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/buildit/build_llvm')
-rwxr-xr-xutils/buildit/build_llvm2
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index b58e0f0..d4556ae 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -284,8 +284,6 @@ if [ "$INSTALL_LIBLTO" == yes ]; then
mkdir -p $DT_HOME/lib
mv lib/libLTO.dylib $DT_HOME/lib/libLTO.dylib
strip -S $DT_HOME/lib/libLTO.dylib
-else
- rm lib/libLTO.dylib
fi
rm -f lib/libLTO.a lib/libLTO.la