Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2011 21:58:08 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218894 - head/sys/conf
Message-ID:  <201102202158.p1KLw8qC046153@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102202158.p1KLw8qC046153>