diff options
author | bde <bde@FreeBSD.org> | 2006-10-26 11:53:25 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2006-10-26 11:53:25 +0000 |
commit | 4bb6f6a7b4e77fac63e9ab5aef5fefc44a1daa77 (patch) | |
tree | 6ecebb52d248c2b5810f1df99037f72e5ae24f6f /sys/conf/kern.pre.mk | |
parent | 55067e6cf7b8af77887d5fd1620da9fcc596ad9d (diff) | |
download | FreeBSD-src-4bb6f6a7b4e77fac63e9ab5aef5fefc44a1daa77.zip FreeBSD-src-4bb6f6a7b4e77fac63e9ab5aef5fefc44a1daa77.tar.gz |
Reduced the ifdef tangle for profiling by moving the unreachable
never-working parts for icc to the attic.
Fixed some nearby style bugs.
Diffstat (limited to 'sys/conf/kern.pre.mk')
-rw-r--r-- | sys/conf/kern.pre.mk | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk index 5b00244..fd8e830 100644 --- a/sys/conf/kern.pre.mk +++ b/sys/conf/kern.pre.mk @@ -95,24 +95,14 @@ ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS} .if defined(PROFLEVEL) && ${PROFLEVEL} >= 1 .if ${CC} == "icc" -.error Profiling doesn't work with ICC yet. -.else -CFLAGS+= -DGPROF -falign-functions=16 +.error "Profiling doesn't work with icc yet" .endif +CFLAGS+= -DGPROF -falign-functions=16 .if ${PROFLEVEL} >= 2 CFLAGS+= -DGPROF4 -DGUPROF -. if ${CC} == "icc" -# XXX doesn't work yet -#PROF= -prof_gen -. else PROF= -finstrument-functions -Wno-inline -. endif .else -. if ${CC} == "icc" -PROF= -p -. else PROF= -pg -. endif .endif .endif DEFINED_PROF= ${PROF} |