aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libcompat
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-01-06 17:55:06 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2021-01-07 09:31:03 +0000
commit7fa2f2a62f04f095e1e27ad55aa22a8f59b1df8f (patch)
treecd926f5786b67b905e2c475f1b422b7e4ba261e6 /Makefile.libcompat
parent94ffff68c8e84d4983e3d803575cfdb3e5782515 (diff)
downloadsrc-7fa2f2a62f04f095e1e27ad55aa22a8f59b1df8f.tar.gz
src-7fa2f2a62f04f095e1e27ad55aa22a8f59b1df8f.zip
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
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r--Makefile.libcompat2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat
index 8b5b31e99387..ec4402586558 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -104,7 +104,7 @@ build${libcompat}: .PHONY
OBJROOT='$${OBJTOP}/' \
MAKEOBJDIRPREFIX= \
DIRPRFX=${_dir}/ -DNO_LINT -DNO_CPU_CFLAGS \
- MK_CTF=no MK_RETPOLINE=no -DNO_WERROR \
+ MK_CTF=no MK_RETPOLINE=no MK_WERROR=no \
${_t}
.endfor
.endfor