summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-02-09 04:01:11 +0000
committerBill Wendling <isanbard@gmail.com>2009-02-09 04:01:11 +0000
commiteaa0ffbc41d89e77735c2cf27cbdb9433db376cf (patch)
treeb509b5549150f5914feb8d4ff8819b2bc0fab120 /utils
parent32c1a4c342b252c5709abbe01172112fde9e0bc1 (diff)
downloadllvm-eaa0ffbc41d89e77735c2cf27cbdb9433db376cf.tar.gz
llvm-eaa0ffbc41d89e77735c2cf27cbdb9433db376cf.tar.bz2
llvm-eaa0ffbc41d89e77735c2cf27cbdb9433db376cf.tar.xz
Small fix for the 'strip' command. Do a list of .so files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/buildit/build_llvm4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index 6ded723dd1..0c0b6f9111 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -176,8 +176,8 @@ 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]
- for file in $DEST_DIR$DEST_ROOT/lib/*.so; do
- strip -Sx $file
+ for f in `ls $DEST_DIR$DEST_ROOT/lib/*.so`; do
+ strip -Sx $f
done
fi