svn commit: r304757 - head/lib

Ed Maste emaste at FreeBSD.org
Wed Aug 24 17:15:33 UTC 2016


Author: emaste
Date: Wed Aug 24 17:15:32 2016
New Revision: 304757
URL: https://svnweb.freebsd.org/changeset/base/304757

Log:
  Don't build libdevdctl if MK_CXX is no

Modified:
  head/lib/Makefile

Modified: head/lib/Makefile
==============================================================================
--- head/lib/Makefile	Wed Aug 24 16:49:14 2016	(r304756)
+++ head/lib/Makefile	Wed Aug 24 17:15:32 2016	(r304757)
@@ -43,7 +43,7 @@ SUBDIR=	${SUBDIR_BOOTSTRAP} \
 	libcompat \
 	libcrypt \
 	libdevctl \
-	libdevdctl \
+	${_libdevdctl} \
 	libdevinfo \
 	libdevstat \
 	libdpv \
@@ -187,6 +187,10 @@ _clang=		clang
 _cuse=		libcuse
 .endif
 
+.if ${MK_CXX} != "no"
+_libdevdctl=	libdevdctl
+.endif
+
 .if ${MK_TOOLCHAIN} != "no"
 _libelftc=	libelftc
 _libpe=		libpe


More information about the svn-src-all mailing list