]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/clang/clang.build.mk
lib/libc/amd64/string: add strspn(3) scalar, x86-64-v2 implementation
[FreeBSD/FreeBSD.git] / lib / clang / clang.build.mk
1
2 .include <src.opts.mk>
3
4 .ifndef CLANG_SRCS
5 .error Please define CLANG_SRCS before including this file
6 .endif
7
8 CFLAGS+=        -I${CLANG_SRCS}/include
9
10 .if ${MK_CLANG_FULL} != "no"
11 CFLAGS+=        -DCLANG_ENABLE_ARCMT
12 CFLAGS+=        -DCLANG_ENABLE_STATIC_ANALYZER
13 .endif
14
15 CFLAGS.gcc+=    -fno-strict-aliasing
16
17 .include "llvm.build.mk"