[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.
This commit is contained in:
Adrian Chadd 2020-07-14 05:10:50 +00:00
parent 268a20a0e7
commit f8e66eb160

View File

@ -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