summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/conf/kern.pre.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 818787e..aa0f68a 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -109,8 +109,8 @@ WERROR?= -Werror
ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS}
.if defined(PROFLEVEL) && ${PROFLEVEL} >= 1
-.if ${CC:T:Micc} == "icc" || ${CC:T:Mclang} == "clang"
-.error "Profiling doesn't work with icc or clang yet"
+.if ${CC:T:Micc} == "icc"
+.error "Profiling doesn't work with icc"
.endif
CFLAGS+= -DGPROF -falign-functions=16
.if ${PROFLEVEL} >= 2
OpenPOWER on IntegriCloud