aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/clang/clang.prog.mk
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/clang/clang.prog.mk')
-rw-r--r--usr.bin/clang/clang.prog.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/clang/clang.prog.mk b/usr.bin/clang/clang.prog.mk
index de5cceac7c6b..d0ed6b8587c5 100644
--- a/usr.bin/clang/clang.prog.mk
+++ b/usr.bin/clang/clang.prog.mk
@@ -17,8 +17,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>