mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
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:
parent
ec2456e2c2
commit
2c737393a1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123989
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user