From f67e9133471b72753415b74d6ee42bab159d2232 Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 6 Aug 2004 17:07:40 +0000 Subject: 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. --- release/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release/Makefile') diff --git a/release/Makefile b/release/Makefile index 8cf2a30..6a56e4b 100644 --- a/release/Makefile +++ b/release/Makefile @@ -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 -- cgit v1.1