summaryrefslogtreecommitdiffstats
path: root/lib/clang/libllvmsupport
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/libllvmsupport
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/libllvmsupport')
-rw-r--r--lib/clang/libllvmsupport/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile
index d113989..fbc074c 100644
--- a/lib/clang/libllvmsupport/Makefile
+++ b/lib/clang/libllvmsupport/Makefile
@@ -6,14 +6,14 @@ SRCDIR= lib/Support
SRCS= APFloat.cpp APInt.cpp APSInt.cpp Allocator.cpp CommandLine.cpp \
ConstantRange.cpp Debug.cpp DeltaAlgorithm.cpp Dwarf.cpp \
ErrorHandling.cpp FileUtilities.cpp FoldingSet.cpp \
- FormattedStream.cpp GraphWriter.cpp IsInf.cpp IsNAN.cpp \
- ManagedStatic.cpp MemoryBuffer.cpp MemoryObject.cpp \
- PluginLoader.cpp PrettyStackTrace.cpp Regex.cpp \
- SlowOperationInformer.cpp SmallPtrSet.cpp SmallVector.cpp \
- SourceMgr.cpp Statistic.cpp StringExtras.cpp StringMap.cpp \
- StringPool.cpp StringRef.cpp SystemUtils.cpp \
- TargetRegistry.cpp Timer.cpp Triple.cpp Twine.cpp \
- circular_raw_ostream.cpp raw_os_ostream.cpp raw_ostream.cpp \
- regcomp.c regerror.c regexec.c regfree.c regstrlcpy.c
+ FormattedStream.cpp GraphWriter.cpp ManagedStatic.cpp \
+ MemoryBuffer.cpp MemoryObject.cpp PluginLoader.cpp \
+ PrettyStackTrace.cpp Regex.cpp SlowOperationInformer.cpp \
+ SmallPtrSet.cpp SmallVector.cpp SourceMgr.cpp Statistic.cpp \
+ StringExtras.cpp StringMap.cpp StringPool.cpp StringRef.cpp \
+ SystemUtils.cpp TargetRegistry.cpp Timer.cpp Triple.cpp \
+ Twine.cpp circular_raw_ostream.cpp raw_os_ostream.cpp \
+ raw_ostream.cpp regcomp.c regerror.c regexec.c regfree.c \
+ regstrlcpy.c
.include "../clang.lib.mk"
OpenPOWER on IntegriCloud