aboutsummaryrefslogtreecommitdiff
path: root/lib/clang/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang/Makefile.inc')
-rw-r--r--lib/clang/Makefile.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/clang/Makefile.inc b/lib/clang/Makefile.inc
index 6500e91eaac1..3678060fdec0 100644
--- a/lib/clang/Makefile.inc
+++ b/lib/clang/Makefile.inc
@@ -1,13 +1,14 @@
-# $FreeBSD$
-
-.include <bsd.compiler.mk>
+.include <src.opts.mk>
+PACKAGE= clang
MK_PIE:= no # Explicit libXXX.a references
+.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