diff options
Diffstat (limited to 'lib/clang/Makefile.inc')
-rw-r--r-- | lib/clang/Makefile.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/clang/Makefile.inc b/lib/clang/Makefile.inc new file mode 100644 index 000000000000..3678060fdec0 --- /dev/null +++ b/lib/clang/Makefile.inc @@ -0,0 +1,14 @@ +.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 |