summaryrefslogtreecommitdiffstats
path: root/lib/clang/libllvmmc
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-06-15 17:08:03 +0000
committered <ed@FreeBSD.org>2010-06-15 17:08:03 +0000
commita5ff04df0c5f4b642a594c530f576639e26f2373 (patch)
treecf1741ab081fba2ece29e6b3366c3e9467421527 /lib/clang/libllvmmc
parent7498eef5fc5fdc5a35ecd4d307aba4aa492ae29c (diff)
downloadFreeBSD-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 'lib/clang/libllvmmc')
-rw-r--r--lib/clang/libllvmmc/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile
index afe9731..84d29c8 100644
--- a/lib/clang/libllvmmc/Makefile
+++ b/lib/clang/libllvmmc/Makefile
@@ -5,11 +5,10 @@ LIB= llvmmc
SRCDIR= lib/MC
SRCS= MCAsmInfo.cpp MCAsmInfoCOFF.cpp MCAsmInfoDarwin.cpp \
MCAsmStreamer.cpp MCAssembler.cpp MCCodeEmitter.cpp \
- MCContext.cpp MCDisassembler.cpp MCExpr.cpp MCInst.cpp \
- MCInstPrinter.cpp MCLoggingStreamer.cpp MCMachOStreamer.cpp \
- MCNullStreamer.cpp MCObjectWriter.cpp MCSection.cpp \
- MCSectionCOFF.cpp MCSectionELF.cpp MCSectionMachO.cpp \
- MCStreamer.cpp MCSymbol.cpp MCValue.cpp MachObjectWriter.cpp \
- TargetAsmBackend.cpp
+ MCContext.cpp MCExpr.cpp MCInst.cpp MCInstPrinter.cpp \
+ MCLoggingStreamer.cpp MCMachOStreamer.cpp MCNullStreamer.cpp \
+ MCObjectWriter.cpp MCSection.cpp MCSectionCOFF.cpp \
+ MCSectionELF.cpp MCSectionMachO.cpp MCStreamer.cpp \
+ MCSymbol.cpp MachObjectWriter.cpp TargetAsmBackend.cpp
.include "../clang.lib.mk"
OpenPOWER on IntegriCloud