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
This commit is contained in:
Bill Wendling 2009-02-09 02:18:35 +00:00
parent 25c0805c2a
commit 51739ca5af

View File

@ -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.