mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 13:05:18 +01:00
Only include CWARNFLAGS once to reduce command line size from ~1400
characters to "only" ~900 for kernel builds.
This commit is contained in:
parent
f39630c2d6
commit
2e8457e701
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282207
@ -187,7 +187,7 @@ CFLAGS+= -fstack-protector
|
||||
CFLAGS+= -gdwarf-2
|
||||
.endif
|
||||
|
||||
CFLAGS+= ${CWARNEXTRA} ${CWARNFLAGS} ${CWARNFLAGS.${.IMPSRC:T}}
|
||||
CFLAGS+= ${CWARNFLAGS} ${CWARNFLAGS.${.IMPSRC:T}}
|
||||
CFLAGS+= ${CFLAGS.${COMPILER_TYPE}} ${CFLAGS.${.IMPSRC:T}}
|
||||
|
||||
# Tell bmake not to mistake standard targets for things to be searched for
|
||||
|
@ -87,7 +87,7 @@ INCLUDES+= -I$S/dev/cxgb -I$S/dev/cxgbe
|
||||
|
||||
.endif
|
||||
|
||||
CFLAGS= ${COPTFLAGS} ${DEBUG} ${CWARNFLAGS}
|
||||
CFLAGS= ${COPTFLAGS} ${DEBUG}
|
||||
CFLAGS+= ${INCLUDES} -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h
|
||||
CFLAGS_PARAM_INLINE_UNIT_GROWTH?=100
|
||||
CFLAGS_PARAM_LARGE_FUNCTION_GROWTH?=1000
|
||||
|
Loading…
Reference in New Issue
Block a user