svn commit: r305156 - head/usr.bin

Ed Maste emaste at FreeBSD.org
Wed Aug 31 21:12:52 UTC 2016


Author: emaste
Date: Wed Aug 31 21:12:50 2016
New Revision: 305156
URL: https://svnweb.freebsd.org/changeset/base/305156

Log:
  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

Modified:
  head/usr.bin/Makefile

Modified: head/usr.bin/Makefile
==============================================================================
--- head/usr.bin/Makefile	Wed Aug 31 21:04:58 2016	(r305155)
+++ head/usr.bin/Makefile	Wed Aug 31 21:12:50 2016	(r305156)
@@ -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


More information about the svn-src-all mailing list