diff options
author | ed <ed@FreeBSD.org> | 2010-06-15 17:08:03 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-06-15 17:08:03 +0000 |
commit | a5ff04df0c5f4b642a594c530f576639e26f2373 (patch) | |
tree | cf1741ab081fba2ece29e6b3366c3e9467421527 /usr.bin/env | |
parent | 7498eef5fc5fdc5a35ecd4d307aba4aa492ae29c (diff) | |
download | FreeBSD-src-a5ff04df0c5f4b642a594c530f576639e26f2373.zip FreeBSD-src-a5ff04df0c5f4b642a594c530f576639e26f2373.tar.gz |
Remove unneeded files from the build.
I used the following command to determine which source files were
unneeded:
| for i in `find lib/clang -name '*.o'`
| do
| MATCHES="`(nm -g --defined-only $i; nm -g --defined-only \
| usr.bin/clang/clang/clang) | sed -e 's/.* //' | \
| sort | uniq -d | wc -l`"
| [ $MATCHES -eq 0 ] && echo "$i: unneeded"
| done
This should slightly improve the build times.
Diffstat (limited to 'usr.bin/env')
0 files changed, 0 insertions, 0 deletions