svn commit: r218894 - head/sys/conf

Dimitry Andric dim at FreeBSD.org
Sun Feb 20 21:58:08 UTC 2011


Author: dim
Date: Sun Feb 20 21:58:07 2011
New Revision: 218894
URL: http://svn.freebsd.org/changeset/base/218894

Log:
  Clang now supports profiling, so remove the part that says it doesn't
  from sys/conf/kern.pre.mk.

Modified:
  head/sys/conf/kern.pre.mk

Modified: head/sys/conf/kern.pre.mk
==============================================================================
--- head/sys/conf/kern.pre.mk	Sun Feb 20 19:33:47 2011	(r218893)
+++ head/sys/conf/kern.pre.mk	Sun Feb 20 21:58:07 2011	(r218894)
@@ -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


More information about the svn-src-head mailing list