aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/clang/lld/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/clang/lld/Makefile')
-rw-r--r--usr.bin/clang/lld/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/clang/lld/Makefile b/usr.bin/clang/lld/Makefile
index 3593a4006ba2..8e95ccc07f04 100644
--- a/usr.bin/clang/lld/Makefile
+++ b/usr.bin/clang/lld/Makefile
@@ -102,8 +102,10 @@ TGHDRS+= ${INCFILE}
DPSRCS+= ${TGHDRS}
CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/}
+.if ${.MAKE.OS} == "FreeBSD" || !defined(BOOTSTRAPPING)
LIBADD+= execinfo
LIBADD+= ncursesw
+.endif
LIBADD+= pthread
LIBADD+= z