diff options
author | marcel <marcel@FreeBSD.org> | 2004-08-06 17:07:40 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-08-06 17:07:40 +0000 |
commit | f67e9133471b72753415b74d6ee42bab159d2232 (patch) | |
tree | 2df82b92b3447e98edc1d039dd01fd2707ec2fc9 /release/Makefile | |
parent | ea9862ff9f2c8999d78118af4466bbeff34988de (diff) | |
download | FreeBSD-src-f67e9133471b72753415b74d6ee42bab159d2232.zip FreeBSD-src-f67e9133471b72753415b74d6ee42bab159d2232.tar.gz |
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.
Diffstat (limited to 'release/Makefile')
-rw-r--r-- | release/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 |