aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/size/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/size/Makefile b/usr.bin/size/Makefile
index d7c8e41110346..60b62b6c06a88 100644
--- a/usr.bin/size/Makefile
+++ b/usr.bin/size/Makefile
@@ -11,6 +11,12 @@ PROG= size
LIBADD= 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>