aboutsummaryrefslogtreecommitdiffstats
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
commitfe98a7eac1d6fc4007eb7778b6d8c2e0833687e9 (patch)
treeb509b5549150f5914feb8d4ff8819b2bc0fab120 /utils
parent2b8b01282517bc67849a9c70797cca3806f8e3e9 (diff)
downloadexternal_llvm-fe98a7eac1d6fc4007eb7778b6d8c2e0833687e9.zip
external_llvm-fe98a7eac1d6fc4007eb7778b6d8c2e0833687e9.tar.gz
external_llvm-fe98a7eac1d6fc4007eb7778b6d8c2e0833687e9.tar.bz2
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 6ded723..0c0b6f9 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