mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Normalise the CWARNFLAGS inter-word spacing: remove all leading
and trailing space, and convert multiple consecutive spaces to single space. This helps to keep build output looking good.
This commit is contained in:
parent
0504bd6580
commit
9346408d90
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303453
@ -190,7 +190,7 @@ CFLAGS+= ${SSP_CFLAGS}
|
||||
# Allow user-specified additional warning flags, plus compiler and file
|
||||
# specific flag overrides, unless we've overriden this...
|
||||
.if ${MK_WARNS} != "no"
|
||||
CFLAGS+= ${CWARNFLAGS} ${CWARNFLAGS.${COMPILER_TYPE}}
|
||||
CFLAGS+= ${CWARNFLAGS:M*} ${CWARNFLAGS.${COMPILER_TYPE}}
|
||||
CFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
|
||||
.endif
|
||||
|
||||
|
@ -214,7 +214,7 @@ CFLAGS+= -fstack-protector
|
||||
CFLAGS+= -gdwarf-2
|
||||
.endif
|
||||
|
||||
CFLAGS+= ${CWARNFLAGS} ${CWARNFLAGS.${.IMPSRC:T}}
|
||||
CFLAGS+= ${CWARNFLAGS:M*} ${CWARNFLAGS.${.IMPSRC:T}}
|
||||
CFLAGS+= ${CFLAGS.${COMPILER_TYPE}} ${CFLAGS.${.IMPSRC:T}}
|
||||
|
||||
# Tell bmake not to mistake standard targets for things to be searched for
|
||||
|
Loading…
Reference in New Issue
Block a user