aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/clang/Makefile.inc
blob: 1e9998061cf66e231836a324c9899149e89c6051 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.include <src.opts.mk>

.if defined(TOOLS_PREFIX)
MK_PIE:=	no	# Explicit libXXX.a references
.endif

.if ${MK_LLVM_FULL_DEBUGINFO} == "no"
.if ${COMPILER_TYPE} == "clang"
DEBUG_FILES_CFLAGS= -gline-tables-only
.else
DEBUG_FILES_CFLAGS= -g1
.endif
.endif

WARNS?=		0

.include "../Makefile.inc"