diff --git a/lib/libc/tests/Makefile.netbsd-tests b/lib/libc/tests/Makefile.netbsd-tests index 32385186425f..18b0276b7296 100644 --- a/lib/libc/tests/Makefile.netbsd-tests +++ b/lib/libc/tests/Makefile.netbsd-tests @@ -4,4 +4,6 @@ TESTSRC:= ${SRCTOP}/contrib/netbsd-tests/${RELDIR:C/libc\/tests/libc/} TESTSDIR:= ${TESTSBASE}/${RELDIR:C/libc\/tests/libc/} +WARNS?= 2 + .include diff --git a/lib/libc/tests/locale/Makefile b/lib/libc/tests/locale/Makefile index 750b7aeb31d6..e05cbae3ac9f 100644 --- a/lib/libc/tests/locale/Makefile +++ b/lib/libc/tests/locale/Makefile @@ -39,8 +39,6 @@ SRCS.wctomb_2_test= wctomb_test.c CFLAGS.t_wctomb.c+= -Wno-stack-protector -WARNS?= 2 - .include "../Makefile.netbsd-tests" .include