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= HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests SUBDIR.${MK_TESTS}+= tests
.if ${MK_CASPER} != "no" && !defined(RESCUE) && !defined(BOOTSTRAPPING) # Temporary disable building cat with Casper.
LIBADD+= casper #.if ${MK_CASPER} != "no" && !defined(RESCUE) && !defined(BOOTSTRAPPING)
LIBADD+= cap_fileargs #LIBADD+= casper
LIBADD+= cap_net #LIBADD+= cap_fileargs
CFLAGS+=-DWITH_CASPER #LIBADD+= cap_net
.endif #CFLAGS+=-DWITH_CASPER
#.endif
.include <bsd.prog.mk> .include <bsd.prog.mk>