Clang now supports profiling, so remove the part that says it doesn't

from sys/conf/kern.pre.mk.
This commit is contained in:
Dimitry Andric 2011-02-20 21:58:07 +00:00
parent 2754fe609d
commit 6b4fa5b111

View File

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