summaryrefslogtreecommitdiff
path: root/lib/libkvm
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-10-01 01:10:51 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-10-01 01:10:51 +0000
commit7cc42f6d25ef2e19059d088fa7d4853fe9afefb5 (patch)
tree247f8681872747970b9b38f1c62b58912972ef7d /lib/libkvm
parent9f669985b281c4e0d8edf80e138a6040c215828c (diff)
downloadsrc-test-7cc42f6d25ef2e19059d088fa7d4853fe9afefb5.tar.gz
src-test-7cc42f6d25ef2e19059d088fa7d4853fe9afefb5.zip
Do a sweep and remove most WARNS=6 settings
Repeating the default WARNS here makes it slightly more difficult to experiment with default WARNS changes, e.g. if we did something absolutely bananas and introduced a WARNS=7 and wanted to try lifting the default to that. Drop most of them; there is one in the blake2 kernel module, but I suspect it should be dropped -- the default WARNS in the rest of the build doesn't currently apply to kernel modules, and I haven't put too much thought into whether it makes sense to make it so.
Notes
Notes: svn path=/head/; revision=366304
Diffstat (limited to 'lib/libkvm')
-rw-r--r--lib/libkvm/Makefile2
-rw-r--r--lib/libkvm/tests/Makefile2
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/libkvm/Makefile b/lib/libkvm/Makefile
index cd4872bd5b039..7747518d05eb0 100644
--- a/lib/libkvm/Makefile
+++ b/lib/libkvm/Makefile
@@ -8,8 +8,6 @@ SHLIBDIR?= /lib
SHLIB_MAJOR= 7
CFLAGS+=-DNO__SCCSID -I${.CURDIR}
-WARNS?= 6
-
SRCS= kvm.c kvm_cptime.c kvm_getloadavg.c \
kvm_getswapinfo.c kvm_pcpu.c kvm_private.c kvm_proc.c kvm_vnet.c \
kvm_minidump_aarch64.c \
diff --git a/lib/libkvm/tests/Makefile b/lib/libkvm/tests/Makefile
index 24caf9108883e..1f74aec83f025 100644
--- a/lib/libkvm/tests/Makefile
+++ b/lib/libkvm/tests/Makefile
@@ -13,8 +13,6 @@ CFLAGS.kvm_read_test+= -I${.CURDIR:H}
LIBADD+= kvm
-WARNS?= 6
-
BINDIR= ${TESTSDIR}
.for t in kvm_geterr_test kvm_open_test kvm_open2_test kvm_read_test