1
0
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:
Ruslan Bukin 2016-07-28 17:18:02 +00:00
parent 0504bd6580
commit 9346408d90
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303453
2 changed files with 2 additions and 2 deletions

View File

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

View File

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