Now that make(1) passes variables that were given on the command line
to subordinate make(1) invocations through MAKEFLAGS, we cannot add CFLAGS onto the make(1) command line. This will conflict with the individual makefiles wanting to append to it, which is not respected when CFLAGS is given on the command line. Hence build breakage. So, put CFLAGS in the environment instead.
This commit is contained in:
parent
91f18ef928
commit
9090f0c261
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133224
@ -569,8 +569,8 @@ release.4:
|
||||
${.CURDIR}/${TARGET}/${j}_crunch.conf
|
||||
cd ${j}_crunch; ${WMAKE} -f ${j}_crunch.mk subclean
|
||||
cd ${.CURDIR}/..; ${BINMAKE} -f Makefile.inc1 _build-tools
|
||||
cd ${j}_crunch; ${WMAKE} -f ${j}_crunch.mk \
|
||||
CFLAGS="-Os -pipe" -DNO_CPU_CFLAGS all
|
||||
cd ${j}_crunch; CFLAGS="-Os -pipe" ${WMAKE} -f ${j}_crunch.mk \
|
||||
-DNO_CPU_CFLAGS all
|
||||
${WMAKEENV} strip -R .comment ${j}_crunch/${j}_crunch
|
||||
mv ${j}_crunch/${j}_crunch ${RD}/crunch/${j}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user