users: don't build when we don't have a C++ toolchain

(On RISC-V MK_CXX is in BROKEN_OPTIONS, so users remains skipped there.)

Reviewed by:	bdrewery
Differential Revision:	https://reviews.freebsd.org/D7725
This commit is contained in:
Ed Maste 2016-08-31 21:12:50 +00:00
parent d0bd2dad6f
commit d74808dd1a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305156

View File

@ -294,7 +294,7 @@ SUBDIR.${MK_VT}+= vtfontcvt
SUBDIR.${MK_USB}+= usbhidaction
SUBDIR.${MK_USB}+= usbhidctl
SUBDIR.${MK_UTMPX}+= last
.if ${MACHINE_CPUARCH} != "riscv" # RISCVTODO users does not build
.if ${MK_CXX} != "no"
SUBDIR.${MK_UTMPX}+= users
.endif
SUBDIR.${MK_UTMPX}+= who