Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2020 05:10:51 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363174 - head/usr.sbin
Message-ID:  <202007140510.06E5Apfl023349@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Tue Jul 14 05:10:50 2020
New Revision: 363174
URL: https://svnweb.freebsd.org/changeset/base/363174

Log:
  [hwpmc] Compile 'pmc' only if we have C++11.
  
  I noticed when compiling with ye olde gcc-6.3.0 on mips that it tripped over
  a lack of C++11 bits.  This allows it to compile fine.

Modified:
  head/usr.sbin/Makefile

Modified: head/usr.sbin/Makefile
==============================================================================
--- head/usr.sbin/Makefile	Tue Jul 14 05:07:16 2020	(r363173)
+++ head/usr.sbin/Makefile	Tue Jul 14 05:10:50 2020	(r363174)
@@ -186,9 +186,9 @@ SUBDIR.${MK_NTP}+=	ntp
 SUBDIR.${MK_OPENSSL}+=	keyserv
 SUBDIR.${MK_PF}+=	ftp-proxy
 SUBDIR.${MK_PKGBOOTSTRAP}+=	pkg
-.if ${COMPILER_FEATURES:Mc++11}
-SUBDIR.${MK_PMC}+=	pmc
-.endif
+#.if ${COMPILER_FEATURES:Mc++11}
+#SUBDIR.${MK_PMC}+=	pmc
+#.endif
 SUBDIR.${MK_PMC}+=	pmcannotate pmccontrol pmcstat pmcstudy
 SUBDIR.${MK_PORTSNAP}+=	portsnap
 SUBDIR.${MK_PPP}+=	ppp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007140510.06E5Apfl023349>