Rename NO_WERROR -> MK_WERROR=no

As suggested in D27598. This also supports MK_WERROR.clang=no and
MK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses.

Reviewed By:	brooks
Differential Revision: https://reviews.freebsd.org/D27601
This commit is contained in:
Alex Richardson
2021-01-06 17:55:06 +00:00
committed by Alex Richardson
parent 94ffff68c8
commit 7fa2f2a62f
25 changed files with 40 additions and 33 deletions
+1 -1
View File
@@ -459,7 +459,7 @@ MMAKE= ${MMAKEENV} ${MAKE} \
OBJROOT='$${OBJTOP}/' \
MAKEOBJDIRPREFIX= \
MAN= -DNO_SHARED \
-DNO_CPU_CFLAGS -DNO_WERROR \
-DNO_CPU_CFLAGS MK_WERROR=no \
-DNO_SUBDIR \
DESTDIR= PROGNAME=${MYMAKE:T}