From owner-svn-src-all@freebsd.org Fri Sep 18 17:17:54 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 040743E8718; Fri, 18 Sep 2020 17:17:54 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtLBT6Zksz3ZKY; Fri, 18 Sep 2020 17:17:53 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C0CEC1E4DD; Fri, 18 Sep 2020 17:17:53 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08IHHrSZ047618; Fri, 18 Sep 2020 17:17:53 GMT (envelope-from kevans@FreeBSD.org) Received: (from kevans@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08IHHkSq047581; Fri, 18 Sep 2020 17:17:46 GMT (envelope-from kevans@FreeBSD.org) Message-Id: <202009181717.08IHHkSq047581@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevans set sender to kevans@FreeBSD.org using -f From: Kyle Evans Date: Fri, 18 Sep 2020 17:17:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365887 - in head: . bin gnu/lib/libregex gnu/usr.bin/diff3 gnu/usr.bin/gdb gnu/usr.bin/grep lib lib/clang lib/libarchive/tests lib/libc/tests/regex lib/libcasper/services/cap_dns/tests... X-SVN-Group: head X-SVN-Commit-Author: kevans X-SVN-Commit-Paths: in head: . bin gnu/lib/libregex gnu/usr.bin/diff3 gnu/usr.bin/gdb gnu/usr.bin/grep lib lib/clang lib/libarchive/tests lib/libc/tests/regex lib/libcasper/services/cap_dns/tests lib/libcasper/services/c... X-SVN-Commit-Revision: 365887 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2020 17:17:54 -0000 Author: kevans Date: Fri Sep 18 17:17:46 2020 New Revision: 365887 URL: https://svnweb.freebsd.org/changeset/base/365887 Log: build: provide a default WARNS for all in-tree builds The current default is provided in various Makefile.inc in some top-level directories and covers a good portion of the tree, but doesn't cover parts of the build a little deeper (e.g. libcasper). Provide a default in src.sys.mk and set WARNS to it in bsd.sys.mk if that variable is defined. This lets us relatively cleanly provide a default WARNS no matter where you're building in the src tree without breaking things outside of the tree. Crunchgen has been updated as a bootstrap tool to work on this change because it needs r365605 at a minimum to succeed. The cleanup necessary to successfully walk over this change on WITHOUT_CLEAN builds has been added. There is a supplemental project to this to list all of the warnings that are encountered when the environment has WARNS=6 NO_WERROR=yes: https://warns.kevans.dev -- this project will hopefully eventually go away in favor of CI doing a much better job than it. Reviewed by: emaste, brooks, ngie (all earlier version) Reviewed by: emaste, arichardson (depend-cleanup.sh change) Differential Revision: https://reviews.freebsd.org/D26455 Added: head/tests/sys/cddl/zfs/tests/Makefile.inc (contents, props changed) Modified: head/Makefile.inc1 head/bin/Makefile.inc head/gnu/lib/libregex/Makefile head/gnu/usr.bin/diff3/Makefile head/gnu/usr.bin/gdb/Makefile.inc head/gnu/usr.bin/grep/Makefile head/lib/Makefile.inc head/lib/clang/Makefile.inc head/lib/libarchive/tests/Makefile head/lib/libc/tests/regex/Makefile.inc head/lib/libcasper/services/cap_dns/tests/Makefile head/lib/libcasper/services/cap_grp/tests/Makefile head/lib/libcasper/services/cap_pwd/tests/Makefile head/lib/libcasper/services/cap_sysctl/tests/Makefile head/lib/libthr/tests/Makefile head/lib/libthr/tests/dlopen/Makefile head/lib/libthr/tests/dlopen/dso/Makefile head/lib/libxo/tests/Makefile head/lib/ofed/Makefile.inc head/rescue/librescue/Makefile head/sbin/Makefile.inc head/secure/lib/libcrypto/engines/Makefile.inc head/share/mk/bsd.sys.mk head/share/mk/src.sys.mk head/tests/sys/cddl/zfs/bin/Makefile head/tests/sys/geom/class/eli/Makefile head/tests/sys/net/routing/Makefile head/tools/build/depend-cleanup.sh head/usr.bin/Makefile.inc head/usr.bin/ofed/infiniband-diags/Makefile.inc head/usr.bin/ofed/libibverbs/Makefile.inc head/usr.bin/ofed/librdmacm/Makefile.inc head/usr.bin/tar/tests/Makefile head/usr.sbin/Makefile.inc head/usr.sbin/wpa/Makefile.inc Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Fri Sep 18 16:48:08 2020 (r365886) +++ head/Makefile.inc1 Fri Sep 18 17:17:46 2020 (r365887) @@ -2226,12 +2226,9 @@ _crunchide= usr.sbin/crunch/crunchide _bootstrap_tools_links+=crunchide .endif -# r285986 crunchen: use STRIPBIN rather than STRIP -# 1100113: Support MK_AUTO_OBJ -# 1200006: META_MODE fixes -.if ${BOOTSTRAPPING} < 1100078 || \ - (${MK_AUTO_OBJ} == "yes" && ${BOOTSTRAPPING} < 1100114) || \ - (${MK_META_MODE} == "yes" && ${BOOTSTRAPPING} < 1200006) +# 1300115: Higher WARNS fixes +.if ${BOOTSTRAPPING} < 1202502 || \ + (${BOOTSTRAPPING} > 1300000 && ${BOOTSTRAPPING} < 1300115) _crunchgen= usr.sbin/crunch/crunchgen .else _bootstrap_tools_links+=crunchgen Modified: head/bin/Makefile.inc ============================================================================== --- head/bin/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/bin/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -4,7 +4,6 @@ .include BINDIR?= /bin -WARNS?= 6 .if ${MK_DYNAMICROOT} == "no" NO_SHARED?= YES Modified: head/gnu/lib/libregex/Makefile ============================================================================== --- head/gnu/lib/libregex/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/gnu/lib/libregex/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -6,6 +6,8 @@ SHLIB_MAJOR= 5 REGEXDIR= ${SRCTOP}/contrib/libgnuregex .PATH: ${REGEXDIR} +WARNS?= 1 + SRCS= gnuregex.c INCSGROUPS= INCS WRINCS PXINCS INCS= regex.h.patched Modified: head/gnu/usr.bin/diff3/Makefile ============================================================================== --- head/gnu/usr.bin/diff3/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/gnu/usr.bin/diff3/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -18,6 +18,8 @@ CFLAGS+=-I${SRCTOP}/contrib/diff/lib CFLAGS+=-DHAVE_CONFIG_H CFLAGS+=-DDEFAULT_DIFF_PROGRAM=\"/usr/bin/diff\" +WARNS?= 0 + .for f in diff3.c ${f}: ${DIFFSRC}/${f} ${.CURDIR}/${f}.diff patch -s -o ${.TARGET} < ${.CURDIR}/${f}.diff ${DIFFSRC}/${f} Modified: head/gnu/usr.bin/gdb/Makefile.inc ============================================================================== --- head/gnu/usr.bin/gdb/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/gnu/usr.bin/gdb/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -2,6 +2,8 @@ .include +WARNS?= 0 + VERSION= "6.1.1 [FreeBSD]" VENDOR= marcel Modified: head/gnu/usr.bin/grep/Makefile ============================================================================== --- head/gnu/usr.bin/grep/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/gnu/usr.bin/grep/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -14,6 +14,8 @@ SRCS= closeout.c dfa.c error.c exclude.c grep.c grepma xstrtoumax.c CLEANFILES+= gnugrep.1 +WARNS?= 0 + CFLAGS+=-I${.CURDIR} -I${SYSROOT:U${DESTDIR}}/usr/include/gnu -DHAVE_CONFIG_H .if ${MK_BSD_GREP} != "yes" Modified: head/lib/Makefile.inc ============================================================================== --- head/lib/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -1,5 +1,3 @@ # $FreeBSD$ # Default version for system libs (override in /Makefile if necessary) SHLIB_MAJOR?= 5 - -WARNS?= 6 Modified: head/lib/clang/Makefile.inc ============================================================================== --- head/lib/clang/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/clang/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -9,3 +9,5 @@ DEBUG_FILES_CFLAGS= -gline-tables-only .else DEBUG_FILES_CFLAGS= -g1 .endif + +WARNS?= 0 Modified: head/lib/libarchive/tests/Makefile ============================================================================== --- head/lib/libarchive/tests/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/libarchive/tests/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -3,6 +3,8 @@ PACKAGE= tests +WARNS?= 3 + _LIBARCHIVEDIR= ${SRCTOP}/contrib/libarchive ATF_TESTS_SH+= functional_test Modified: head/lib/libc/tests/regex/Makefile.inc ============================================================================== --- head/lib/libc/tests/regex/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/libc/tests/regex/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -3,6 +3,7 @@ .include BINDIR?= ${TESTSDIR} +WARNS?= 3 # SKIP_LEFTASSOC -> these testcases fail on FreeBSD. IMPLEMENTATION?= -DREGEX_SPENCER -DSKIP_LEFTASSOC Modified: head/lib/libcasper/services/cap_dns/tests/Makefile ============================================================================== --- head/lib/libcasper/services/cap_dns/tests/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/libcasper/services/cap_dns/tests/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -11,6 +11,4 @@ CFLAGS+=-DWITH_CASPER .endif LIBADD+= nv -WARNS?= 3 - .include Modified: head/lib/libcasper/services/cap_grp/tests/Makefile ============================================================================== --- head/lib/libcasper/services/cap_grp/tests/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/libcasper/services/cap_grp/tests/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -11,6 +11,4 @@ CFLAGS+=-DWITH_CASPER .endif LIBADD+= nv -WARNS?= 3 - .include Modified: head/lib/libcasper/services/cap_pwd/tests/Makefile ============================================================================== --- head/lib/libcasper/services/cap_pwd/tests/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/libcasper/services/cap_pwd/tests/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -11,6 +11,4 @@ CFLAGS+=-DWITH_CASPER .endif LIBADD+= nv -WARNS?= 3 - .include Modified: head/lib/libcasper/services/cap_sysctl/tests/Makefile ============================================================================== --- head/lib/libcasper/services/cap_sysctl/tests/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/libcasper/services/cap_sysctl/tests/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -11,8 +11,6 @@ CFLAGS+=-DWITH_CASPER .endif LIBADD+= nv -WARNS?= 3 - TEST_METADATA.sysctl_test+= required_user="root" .include Modified: head/lib/libthr/tests/Makefile ============================================================================== --- head/lib/libthr/tests/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/libthr/tests/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -2,6 +2,8 @@ PACKAGE= tests +WARNS?= 3 + TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread # TODO: t_name (missing pthread_getname_np support in FreeBSD) Modified: head/lib/libthr/tests/dlopen/Makefile ============================================================================== --- head/lib/libthr/tests/dlopen/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/libthr/tests/dlopen/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -2,6 +2,8 @@ TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen +WARNS?= 2 + .include TESTSDIR= ${TESTSBASE}/lib/libthr/dlopen Modified: head/lib/libthr/tests/dlopen/dso/Makefile ============================================================================== --- head/lib/libthr/tests/dlopen/dso/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/libthr/tests/dlopen/dso/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -1,6 +1,7 @@ # $FreeBSD$ TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen/dso +WARNS?= 3 SHLIB= h_pthread_dlopen SHLIB_MAJOR= 1 Modified: head/lib/libxo/tests/Makefile ============================================================================== --- head/lib/libxo/tests/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/libxo/tests/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -4,6 +4,8 @@ PACKAGE= tests +WARNS?= 1 + LIBXOSRC= ${SRCTOP}/contrib/libxo # Override the default suffix transformation rules for .c/.o -> .out Modified: head/lib/ofed/Makefile.inc ============================================================================== --- head/lib/ofed/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/lib/ofed/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -1 +1,3 @@ # $FreeBSD$ + +WARNS?= 0 Modified: head/rescue/librescue/Makefile ============================================================================== --- head/rescue/librescue/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/rescue/librescue/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -23,6 +23,8 @@ INTERNALLIB= # Don't install this library SRCS= exec.c getusershell.c login_class.c popen.c rcmdsh.c \ sysctl.c system.c +WARNS?= 3 + CFLAGS+= -DRESCUE # Flags copied from src/lib/libc and src/lib/libutil # libc/db/Makefile.inc Modified: head/sbin/Makefile.inc ============================================================================== --- head/sbin/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/sbin/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -4,7 +4,6 @@ .include BINDIR?= /sbin -WARNS?= 6 .if ${MK_DYNAMICROOT} == "no" NO_SHARED?= YES Modified: head/secure/lib/libcrypto/engines/Makefile.inc ============================================================================== --- head/secure/lib/libcrypto/engines/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/secure/lib/libcrypto/engines/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -18,3 +18,5 @@ CFLAGS+= -DB_ENDIAN CFLAGS+= -DNDEBUG .PATH: ${LCRYPTO_SRC}/engines + +WARNS?= 0 Modified: head/share/mk/bsd.sys.mk ============================================================================== --- head/share/mk/bsd.sys.mk Fri Sep 18 16:48:08 2020 (r365886) +++ head/share/mk/bsd.sys.mk Fri Sep 18 17:17:46 2020 (r365887) @@ -28,6 +28,14 @@ CFLAGS+= -std=${CSTD} CXXFLAGS+= -std=${CXXSTD} .endif +# This gives the Makefile we're evaluating at the top-level a chance to set +# WARNS. If it doesn't do so, we may freely pull a DEFAULTWARNS if it's set +# and use that. This allows us to default WARNS to 6 for src builds without +# needing to set the default in various Makefile.inc. +.if !defined(WARNS) && defined(DEFAULTWARNS) +WARNS= ${DEFAULTWARNS} +.endif + # -pedantic is problematic because it also imposes namespace restrictions #CFLAGS+= -pedantic .if defined(WARNS) Modified: head/share/mk/src.sys.mk ============================================================================== --- head/share/mk/src.sys.mk Fri Sep 18 16:48:08 2020 (r365886) +++ head/share/mk/src.sys.mk Fri Sep 18 17:17:46 2020 (r365887) @@ -40,6 +40,8 @@ __postrcconf_${var}:= ${MK_${var}:U-}${WITHOUT_${var}: CFCOMMONFLAG?= -fno-common CFLAGS+= ${CFCOMMONFLAG} +DEFAULTWARNS= 6 + # tempting, but bsd.compiler.mk causes problems this early # probably need to remove dependence on bsd.own.mk #.include "src.opts.mk" Modified: head/tests/sys/cddl/zfs/bin/Makefile ============================================================================== --- head/tests/sys/cddl/zfs/bin/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/tests/sys/cddl/zfs/bin/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -7,6 +7,8 @@ MAN= BINDIR= ${TESTSBASE}/sys/cddl/zfs/bin SCRIPTSDIR= ${TESTSBASE}/sys/cddl/zfs/bin +WARNS?= 0 + SCRIPTS+= bsddisks.ksh SCRIPTS+= dircmp.ksh SCRIPTS+= dumpadm.ksh Added: head/tests/sys/cddl/zfs/tests/Makefile.inc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tests/sys/cddl/zfs/tests/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -0,0 +1,3 @@ +# $FreeBSD$ + +WARNS?= 0 Modified: head/tests/sys/geom/class/eli/Makefile ============================================================================== --- head/tests/sys/geom/class/eli/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/tests/sys/geom/class/eli/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -4,6 +4,8 @@ PACKAGE= tests +WARNS?= 3 + TESTSDIR= ${TESTSBASE}/sys/geom/class/${.CURDIR:T} ATF_TESTS_C= pbkdf2_test Modified: head/tests/sys/net/routing/Makefile ============================================================================== --- head/tests/sys/net/routing/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/tests/sys/net/routing/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -1,6 +1,7 @@ # $FreeBSD$ PACKAGE= tests +WARNS?= 1 TESTSDIR= ${TESTSBASE}/sys/net/routing Modified: head/tools/build/depend-cleanup.sh ============================================================================== --- head/tools/build/depend-cleanup.sh Fri Sep 18 16:48:08 2020 (r365886) +++ head/tools/build/depend-cleanup.sh Fri Sep 18 17:17:46 2020 (r365887) @@ -49,3 +49,10 @@ if [ -e "$OBJTOP"/cddl/lib/libzfs/.depend.libzfs_chang echo "Removing old ZFS tree" rm -rf "$OBJTOP"/cddl "$OBJTOP"/obj-lib32/cddl fi + +# 20200916 WARNS bumped, need bootstrapped crunchgen stubs +if [ -e "$OBJTOP"/rescue/rescue/rescue.c ] && \ + ! grep -q 'crunched_stub_t' "$OBJTOP"/rescue/rescue/rescue.c; then + echo "Removing old rescue(8) tree" + rm -rf "$OBJTOP"/rescue/rescue +fi Modified: head/usr.bin/Makefile.inc ============================================================================== --- head/usr.bin/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/usr.bin/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -2,5 +2,3 @@ # $FreeBSD$ BINDIR?= /usr/bin - -WARNS?= 6 Modified: head/usr.bin/ofed/infiniband-diags/Makefile.inc ============================================================================== --- head/usr.bin/ofed/infiniband-diags/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/usr.bin/ofed/infiniband-diags/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -10,3 +10,4 @@ CFLAGS+= -DHAVE_CONFIG_H=1 CFLAGS+= -I${_spath} -I${_spath}/src LIBADD+= osmcomp ibmad ibumad +WARNS?= 0 Modified: head/usr.bin/ofed/libibverbs/Makefile.inc ============================================================================== --- head/usr.bin/ofed/libibverbs/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/usr.bin/ofed/libibverbs/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -7,3 +7,4 @@ BINDIR?= /usr/bin CFLAGS+= -I${_spath} LIBADD+= ibverbs mlx4 mlx5 cxgb4 pthread +WARNS?= 2 Modified: head/usr.bin/ofed/librdmacm/Makefile.inc ============================================================================== --- head/usr.bin/ofed/librdmacm/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/usr.bin/ofed/librdmacm/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -6,3 +6,5 @@ _spath=${SRCTOP}/contrib/ofed/librdmacm BINDIR?= /usr/bin CFLAGS+= -I${SRCTOP}/contrib/ofed LIBADD+= ibverbs rdmacm mlx4 mlx5 cxgb4 pthread + +WARNS?= 0 Modified: head/usr.bin/tar/tests/Makefile ============================================================================== --- head/usr.bin/tar/tests/Makefile Fri Sep 18 16:48:08 2020 (r365886) +++ head/usr.bin/tar/tests/Makefile Fri Sep 18 17:17:46 2020 (r365887) @@ -2,6 +2,8 @@ PACKAGE= tests +WARNS?= 3 + _LIBARCHIVEDIR= ${SRCTOP}/contrib/libarchive ATF_TESTS_SH+= functional_test Modified: head/usr.sbin/Makefile.inc ============================================================================== --- head/usr.sbin/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/usr.sbin/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -2,5 +2,3 @@ # $FreeBSD$ BINDIR?= /usr/sbin - -WARNS?= 6 Modified: head/usr.sbin/wpa/Makefile.inc ============================================================================== --- head/usr.sbin/wpa/Makefile.inc Fri Sep 18 16:48:08 2020 (r365886) +++ head/usr.sbin/wpa/Makefile.inc Fri Sep 18 17:17:46 2020 (r365887) @@ -2,6 +2,8 @@ BINDIR?= /usr/sbin +WARNS?= 0 + WPA_DISTDIR?= ${SRCTOP}/contrib/wpa/ WPA_SUPPLICANT_DISTDIR?=${WPA_DISTDIR}/wpa_supplicant HOSTAPD_DISTDIR?= ${WPA_DISTDIR}/hostapd