summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.pre.mk
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2003-12-30 09:01:29 +0000
committerbde <bde@FreeBSD.org>2003-12-30 09:01:29 +0000
commit3c788abc59ad3ecae3795fc57cc26d1a61261b20 (patch)
tree6c09fad73cce106c7ec95a2388098c594815a7e5 /sys/conf/kern.pre.mk
parent85d7d13d1cb3ce6a9e1efc878d78113ebc343d15 (diff)
downloadFreeBSD-src-3c788abc59ad3ecae3795fc57cc26d1a61261b20.zip
FreeBSD-src-3c788abc59ad3ecae3795fc57cc26d1a61261b20.tar.gz
Backed out a small part of rev.1.15. -Winline now works better, so
there is no need turn it off when compiling with -finstrument-functions. Having -Winline turned off mainly broke checking for bogus inlines in kernels configured with high resolution profiling, e.g., LINT. Not turning it off unbreaks the warnings for bogus inlines in istallion.c, but at least the i386 LINT still builds because istallion.c is compiled without -Werror due to other bugs in it.
Diffstat (limited to 'sys/conf/kern.pre.mk')
-rw-r--r--sys/conf/kern.pre.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 518c472..9560793 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -47,8 +47,7 @@ ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS}
CFLAGS+= -DGPROF -falign-functions=16
.if ${PROFLEVEL} >= 2
CFLAGS+= -DGPROF4 -DGUPROF
-# XXX -Wno-inline is to break some warnings.
-PROF= -finstrument-functions -Wno-inline
+PROF= -finstrument-functions
.else
PROF= -pg
.endif
OpenPOWER on IntegriCloud