aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/nm
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2019-09-30 17:27:59 +0000
committerMark Johnston <markj@FreeBSD.org>2019-09-30 17:27:59 +0000
commit052ad61b7eb9bd5fdbe720f2edf7ecb1ca35d381 (patch)
tree83ee5248a94c0ce0e94932599699cbf96642b65f /usr.bin/nm
parent8d3d7247969d6fac43cf97d6b787aa0681105d71 (diff)
Notes
Diffstat (limited to 'usr.bin/nm')
-rw-r--r--usr.bin/nm/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/nm/Makefile b/usr.bin/nm/Makefile
index 113553f8c564..b1b9555962e7 100644
--- a/usr.bin/nm/Makefile
+++ b/usr.bin/nm/Makefile
@@ -11,6 +11,12 @@ PROG= nm
LIBADD= dwarf elftc elf
+.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET)
+LIBADD+= casper
+LIBADD+= cap_fileargs
+CFLAGS+= -DWITH_CASPER
+.endif
+
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
.include <bsd.prog.mk>