llvm.org GIT mirror llvm / 0a1bd2a
Strip resulting binaries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107112 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 9 years ago
1 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
330330 # Remove debugging information from DEST_DIR.
331331
332332 cd $DIR || exit 1
333
333334 find $DEST_DIR -name \*.a -print | xargs ranlib || exit 1
334335 find $DEST_DIR -name \*.dSYM -print | xargs rm -r || exit 1
336
337 # Strip debugging information from files
338 find $DEST_DIR -perm -0111 -type f \
339 ! \( -name '*.la' -o -name gccas -o -name gccld -o -name llvm-config \) \
340 -print | xargs -n 1 -P ${SYSCTL} strip -S
341
335342 chgrp -h -R wheel $DEST_DIR
336343 chgrp -R wheel $DEST_DIR
337344