cat: disable building it with Casper

We want to measure what are the actual cost of sandboxing cat(1).

Requested by:	mjg, cy, Mike Karels
Discussed with:	rwatson, markj
This commit is contained in:
Mariusz Zaborski 2021-01-17 01:04:28 +01:00
parent d28210b2c2
commit b7ab6832cd

View File

@ -15,11 +15,12 @@ CFLAGS+=-DBOOTSTRAP_CAT
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.if ${MK_CASPER} != "no" && !defined(RESCUE) && !defined(BOOTSTRAPPING)
LIBADD+= casper
LIBADD+= cap_fileargs
LIBADD+= cap_net
CFLAGS+=-DWITH_CASPER
.endif
# Temporary disable building cat with Casper.
#.if ${MK_CASPER} != "no" && !defined(RESCUE) && !defined(BOOTSTRAPPING)
#LIBADD+= casper
#LIBADD+= cap_fileargs
#LIBADD+= cap_net
#CFLAGS+=-DWITH_CASPER
#.endif
.include <bsd.prog.mk>