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.
This commit is contained in:
Bruce Evans 2003-12-30 09:01:29 +00:00
parent ec2456e2c2
commit 2c737393a1

View File

@ -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