summaryrefslogtreecommitdiffstats
path: root/lib/clang/libllvmvectorize
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-09-06 22:02:13 +0000
committerdim <dim@FreeBSD.org>2015-09-06 22:02:13 +0000
commitfe6d24a2c11b8f1f6a6abb515a55ff47926356a5 (patch)
tree94661eaefb21a4331b2f3771b8cdd33606d1ef4f /lib/clang/libllvmvectorize
parent1e1e44a4f0eb2f6d300d97422a1a703836e74e47 (diff)
downloadFreeBSD-src-fe6d24a2c11b8f1f6a6abb515a55ff47926356a5.zip
FreeBSD-src-fe6d24a2c11b8f1f6a6abb515a55ff47926356a5.tar.gz
Minimize the number of files compiled for clang only (e.g. when neither
WITH_CLANG_EXTRAS nor WITH_LLDB is in effect).
Diffstat (limited to 'lib/clang/libllvmvectorize')
-rw-r--r--lib/clang/libllvmvectorize/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/clang/libllvmvectorize/Makefile b/lib/clang/libllvmvectorize/Makefile
index 7a63c9e..bfe1a10 100644
--- a/lib/clang/libllvmvectorize/Makefile
+++ b/lib/clang/libllvmvectorize/Makefile
@@ -1,14 +1,17 @@
# $FreeBSD$
-.include <bsd.own.mk>
+.include <src.opts.mk>
LIB= llvmvectorize
SRCDIR= lib/Transforms/Vectorize
SRCS= BBVectorize.cpp \
LoopVectorize.cpp \
- SLPVectorizer.cpp \
- Vectorize.cpp
+ SLPVectorizer.cpp
+
+.if ${MK_CLANG_EXTRAS} != "no"
+SRCS+= Vectorize.cpp
+.endif
TGHDRS= Intrinsics
OpenPOWER on IntegriCloud