From f8e66eb160a3e7cc06f0c9325c127a495d4ce14b Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Tue, 14 Jul 2020 05:10:50 +0000 Subject: [PATCH] [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. --- usr.sbin/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index bd2f0cbe0797..b0903b4b1456 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -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