aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/clang/llvm.prog.mk
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/clang/llvm.prog.mk')
-rw-r--r--usr.bin/clang/llvm.prog.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/clang/llvm.prog.mk b/usr.bin/clang/llvm.prog.mk
index 58fd3eedd113..56698c4138d3 100644
--- a/usr.bin/clang/llvm.prog.mk
+++ b/usr.bin/clang/llvm.prog.mk
@@ -22,8 +22,10 @@ LDADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a
PACKAGE= clang
+.if ${.MAKE.OS} == "FreeBSD" || !defined(BOOTSTRAPPING)
LIBADD+= execinfo
LIBADD+= ncursesw
+.endif
LIBADD+= pthread
.include <bsd.prog.mk>