freebsd-src/lib/clang/clang.build.mk

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
312 B
Makefile
Raw Normal View History

.include <src.opts.mk>
.ifndef CLANG_SRCS
.error Please define CLANG_SRCS before including this file
.endif
CFLAGS+= -I${CLANG_SRCS}/include
.if ${MK_CLANG_FULL} != "no"
CFLAGS+= -DCLANG_ENABLE_ARCMT
CFLAGS+= -DCLANG_ENABLE_STATIC_ANALYZER
.endif
CFLAGS.gcc+= -fno-strict-aliasing
.include "llvm.build.mk"