summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-02-09 02:18:35 +0000
committerBill Wendling <isanbard@gmail.com>2009-02-09 02:18:35 +0000
commit51739ca5af2e992b3d627ea5bad2a4a7f2277270 (patch)
tree91b894787cf05b0b6485b3c32ced8b960d132859 /utils
parent25c0805c2a12c8dd1ff96bec97ca60904a05bd3b (diff)
downloadllvm-51739ca5af2e992b3d627ea5bad2a4a7f2277270.tar.gz
llvm-51739ca5af2e992b3d627ea5bad2a4a7f2277270.tar.bz2
llvm-51739ca5af2e992b3d627ea5bad2a4a7f2277270.tar.xz
Don't run 'strip' on files that aren't there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/buildit/build_llvm4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index 71b6603f8c..6ded723dd1 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -176,7 +176,9 @@ echo "#define LLVM_MINOR_VERSION ${RC_ProjectSourceSubversion}" >> $DEST_DIR$DES
if [ "x$LLVM_DEBUG" != "x1" ]; then
# Strip local symbols from llvm libraries.
strip -S $DEST_DIR$DEST_ROOT/lib/*.[oa]
- strip -Sx $DEST_DIR$DEST_ROOT/lib/*.so
+ for file in $DEST_DIR$DEST_ROOT/lib/*.so; do
+ strip -Sx $file
+ done
fi
# Copy over the tblgen utility.