aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2019-08-01 18:57:37 +0000
committerMark Johnston <markj@FreeBSD.org>2019-08-01 18:57:37 +0000
commit1033464925d4c1de18e0611dc2faf5ce4bf0a394 (patch)
treea1dc1b337932f20c6bb41148bed686471dbddc55 /usr.bin
parent802c2095b5a6dcf0f63c473cbba1e40445e9052a (diff)
downloadsrc-1033464925d4c1de18e0611dc2faf5ce4bf0a394.tar.gz
src-1033464925d4c1de18e0611dc2faf5ce4bf0a394.zip
Capsicumize size(1).
Reviewed by: oshogbo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21105
Notes
Notes: svn path=/head/; revision=350517
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 d7c8e4111034..60b62b6c06a8 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>