aboutsummaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/googletest/tests/gmock/Makefile2
-rw-r--r--lib/googletest/tests/gmock_main/Makefile2
-rw-r--r--lib/googletest/tests/gtest/Makefile2
-rw-r--r--lib/googletest/tests/gtest_main/Makefile2
-rw-r--r--lib/libalias/libalias/Makefile2
-rw-r--r--lib/libc/tests/ssp/Makefile2
-rw-r--r--lib/libcompiler_rt/Makefile2
-rw-r--r--lib/libgcc_s/Makefile2
8 files changed, 8 insertions, 8 deletions
diff --git a/lib/googletest/tests/gmock/Makefile b/lib/googletest/tests/gmock/Makefile
index 0e311abfe3e1..0f31e87018de 100644
--- a/lib/googletest/tests/gmock/Makefile
+++ b/lib/googletest/tests/gmock/Makefile
@@ -9,6 +9,6 @@ GTESTS+= gmock_stress_test
LIBADD+= pthread gtest gmock
# The next release will resolve a number of build warnings issues.
-NO_WERROR=
+MK_WERROR= no
.include <bsd.test.mk>
diff --git a/lib/googletest/tests/gmock_main/Makefile b/lib/googletest/tests/gmock_main/Makefile
index 444c9ae3cb5d..a44d893b96f0 100644
--- a/lib/googletest/tests/gmock_main/Makefile
+++ b/lib/googletest/tests/gmock_main/Makefile
@@ -32,6 +32,6 @@ SRCS.gmock_link_test= \
LIBADD= gmock_main gmock gtest
# The next release will resolve a number of build warnings issues.
-NO_WERROR=
+MK_WERROR= no
.include <bsd.test.mk>
diff --git a/lib/googletest/tests/gtest/Makefile b/lib/googletest/tests/gtest/Makefile
index 9ab69ede2d6e..07b43884dedd 100644
--- a/lib/googletest/tests/gtest/Makefile
+++ b/lib/googletest/tests/gtest/Makefile
@@ -41,6 +41,6 @@ LIBADD+= gtest
LIBADD.gtest_stress_test+= pthread
# The next release will resolve a number of build warnings issues.
-NO_WERROR=
+MK_WERROR= no
.include <bsd.test.mk>
diff --git a/lib/googletest/tests/gtest_main/Makefile b/lib/googletest/tests/gtest_main/Makefile
index 8d2e9e68d5e1..0d4175735b1c 100644
--- a/lib/googletest/tests/gtest_main/Makefile
+++ b/lib/googletest/tests/gtest_main/Makefile
@@ -39,6 +39,6 @@ LIBADD.googletest-port-test+= pthread
LIBADD.gtest_unittest+= pthread
# The next release will resolve a number of build warnings issues.
-NO_WERROR=
+MK_WERROR= no
.include <bsd.test.mk>
diff --git a/lib/libalias/libalias/Makefile b/lib/libalias/libalias/Makefile
index eba0e3098017..17d4c2458abf 100644
--- a/lib/libalias/libalias/Makefile
+++ b/lib/libalias/libalias/Makefile
@@ -10,6 +10,6 @@ SHLIB_MAJOR= 7
MAN= libalias.3
SRCS= alias.c alias_db.c alias_proxy.c alias_util.c alias_mod.c
INCS= alias.h
-NO_WERROR=
+MK_WERROR= no
.include <bsd.lib.mk>
diff --git a/lib/libc/tests/ssp/Makefile b/lib/libc/tests/ssp/Makefile
index c6b625a91d7b..655130ab309d 100644
--- a/lib/libc/tests/ssp/Makefile
+++ b/lib/libc/tests/ssp/Makefile
@@ -2,7 +2,7 @@
.include <bsd.own.mk>
-NO_WERROR=
+MK_WERROR= no
WARNS?= 2
CFLAGS.h_raw+= -fstack-protector-all -Wstack-protector
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile
index 0f42dd516c51..a2325221d0b1 100644
--- a/lib/libcompiler_rt/Makefile
+++ b/lib/libcompiler_rt/Makefile
@@ -15,7 +15,7 @@ CFLAGS+= -I${SRCTOP}/contrib/libcxxrt
# gcc has incompatible internal declarations for __divtc3 and __multc3, but has
# no option to silence its warning, so make warnings non-fatal.
-NO_WERROR.gcc=
+MK_WERROR.gcc= no
.include "Makefile.inc"
diff --git a/lib/libgcc_s/Makefile b/lib/libgcc_s/Makefile
index f245069aee40..84477ee00818 100644
--- a/lib/libgcc_s/Makefile
+++ b/lib/libgcc_s/Makefile
@@ -26,7 +26,7 @@ SYMBOL_MAPS+= ${.CURDIR}/SymbolDefault.map
# gcc has incompatible internal declarations for __divtc3 and __multc3, but has
# no option to silence its warning, so make warnings non-fatal.
-NO_WERROR.gcc=
+MK_WERROR.gcc= no
LIBCSRCDIR= ${SRCTOP}/lib/libc
LIBMSRCDIR= ${SRCTOP}/lib/msun/src