Don't run 'strip' on files that aren't there.

llvm-svn: 64108
This commit is contained in:
Bill Wendling 2009-02-09 02:18:35 +00:00
parent 783b851b76
commit f2116d7450
1 changed files with 3 additions and 1 deletions

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.