[llvm-commits] [llvm-gcc-4.2] r64180 - /llvm-gcc-4.2/trunk/build_gcc
Bill Wendling
isanbard at gmail.com
Mon Feb 9 14:24:56 PST 2009
Author: void
Date: Mon Feb 9 16:24:56 2009
New Revision: 64180
URL: http://llvm.org/viewvc/llvm-project?rev=64180&view=rev
Log:
Don't strip dSYM objects.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trunk/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/build_gcc?rev=64180&r1=64179&r2=64180&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Mon Feb 9 16:24:56 2009
@@ -582,17 +582,20 @@
# Remove debugging information from DEST_DIR.
if [ "x$LLVM_DEBUG" != "x1" ]; then
- find $DEST_DIR -perm -0111 \! -name \*.dylib \! -name fixinc.sh \
- \! -name mkheaders \! -name libstdc++.dylib -type f -print \
+ # LLVM LOCAL begin - don't strip dSYM objects
+ find $DEST_DIR -perm -0111 \! -path '*DWARF*' \! -name \*.dylib \
+ \! -name fixinc.sh \! -name mkheaders \! -name libstdc++.dylib \
+ -type f -print \
| xargs strip || exit 1
- # APPLE LOCAL begin LLVM - Strip with -Sx instead of -SX
- find $DEST_DIR \( -name \*.a -or -name \*.dylib \) \
+ # LLVM LOCAL begin - Strip with -Sx instead of -SX
+ find $DEST_DIR \! -path '*DWARF*' \( -name \*.a -or -name \*.dylib \) \
\! -name libgcc_s.10.*.dylib \! -name libstdc++.dylib -type f \
-print \
| xargs strip -SX || exit 1
- # APPLE LOCAL end LLVM - Strip with -Sx instead of -SX
- find $DEST_DIR -name \*.a -type f -print \
+ # LLVM LOCAL end - Strip with -Sx instead of -SX
+ find $DEST_DIR \! -path '*DWARF*' -name \*.a -type f -print \
| xargs ranlib || exit 1
+ # LLVM LOCAL end - don't strip dSYM objects
fi
# LLVM LOCAL begin
More information about the llvm-commits
mailing list