Clang now supports profiling, so remove the part that says it doesn't
from sys/conf/kern.pre.mk.
This commit is contained in:
parent
2754fe609d
commit
6b4fa5b111
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user