mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Fix various configuration fails, update generated headers, Makefiles, etc. PR: 292067 MFC after: 1 month
17 lines
282 B
Makefile
17 lines
282 B
Makefile
|
|
.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_STATIC_ANALYZER
|
|
.endif
|
|
|
|
CFLAGS.gcc+= -fno-strict-aliasing
|
|
|
|
.include "llvm.build.mk"
|