diff options
author | Ed Schouten <ed@FreeBSD.org> | 2010-06-15 17:08:03 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2010-06-15 17:08:03 +0000 |
commit | 9987dff0035420ff0aa72f80c0f18c476baf929f (patch) | |
tree | cf1741ab081fba2ece29e6b3366c3e9467421527 /lib/clang/libllvmbitwriter | |
parent | 4a23ecc77eb7c8e801c2dc7192c6f96f0375408e (diff) | |
download | src-9987dff0035420ff0aa72f80c0f18c476baf929f.tar.gz src-9987dff0035420ff0aa72f80c0f18c476baf929f.zip |
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.
Notes
Notes:
svn path=/head/; revision=209205
Diffstat (limited to 'lib/clang/libllvmbitwriter')
-rw-r--r-- | lib/clang/libllvmbitwriter/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clang/libllvmbitwriter/Makefile b/lib/clang/libllvmbitwriter/Makefile index 82f5cc12d040..fbfa4539e9d2 100644 --- a/lib/clang/libllvmbitwriter/Makefile +++ b/lib/clang/libllvmbitwriter/Makefile @@ -3,7 +3,7 @@ LIB= llvmbitwriter SRCDIR= lib/Bitcode/Writer -SRCS= BitWriter.cpp BitcodeWriter.cpp BitcodeWriterPass.cpp \ +SRCS= BitcodeWriter.cpp BitcodeWriterPass.cpp \ ValueEnumerator.cpp .include "../clang.lib.mk" |