When compiled with the combination of flags used to build crunched

binaries for the fixit floppy bin/ed/main.c causes a gcc warning
message about argc possibly being clobbered by longjmp or vfork.
We have threatened to ditch floppies for 8.0 but I don't want to
do quite that much rototilling yet so for now turn off -Werror while
building ed (and everything else) for the fixit floppy.

Thanks to jb for pointing out NO_WERROR.
This commit is contained in:
Ken Smith 2007-12-04 02:22:35 +00:00
parent e44a3db010
commit 5876d743c3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174243

View File

@ -618,7 +618,7 @@ release.4:
rm -rf ${j}_crunch
mkdir ${j}_crunch
cd ${j}_crunch; ${WMAKEENV} MAKEFLAGS="-m ${.CURDIR}/../share/mk" \
crunchgen -o \
NO_WERROR= crunchgen -o \
${.CURDIR}/${TARGET}/${j}_crunch.conf
cd ${j}_crunch; ${WMAKE} -f ${j}_crunch.mk subclean
cd ${.CURDIR}/..; ${BINMAKE} -f Makefile.inc1 _build-tools