diff options
author | dim <dim@FreeBSD.org> | 2015-09-06 22:02:13 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-09-06 22:02:13 +0000 |
commit | fe6d24a2c11b8f1f6a6abb515a55ff47926356a5 (patch) | |
tree | 94661eaefb21a4331b2f3771b8cdd33606d1ef4f /lib/clang/libllvmvectorize | |
parent | 1e1e44a4f0eb2f6d300d97422a1a703836e74e47 (diff) | |
download | FreeBSD-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/Makefile | 9 |
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 |