From owner-svn-src-all@freebsd.org Wed Sep 16 23:17:21 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 2271E3F46DF; Wed, 16 Sep 2020 23:17:21 +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 4BsGG86S0Gz4Qw3; Wed, 16 Sep 2020 23:17:20 +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 C1E4920D3A; Wed, 16 Sep 2020 23:17:20 +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 08GNHKpw095404; Wed, 16 Sep 2020 23:17:20 GMT (envelope-from kevans@FreeBSD.org) Received: (from kevans@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08GNHFgg095379; Wed, 16 Sep 2020 23:17:15 GMT (envelope-from kevans@FreeBSD.org) Message-Id: <202009162317.08GNHFgg095379@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevans set sender to kevans@FreeBSD.org using -f From: Kyle Evans Date: Wed, 16 Sep 2020 23:17:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r365821 - in stable/12: gnu/usr.bin/gperf lib/libc++ lib/libcxxrt lib/libopenbsd lib/libsqlite3 lib/libucl lib/libzstd libexec/dma/dma-mbox-create libexec/dma/dmagent sbin/gvinum sbin/t... X-SVN-Group: stable-12 X-SVN-Commit-Author: kevans X-SVN-Commit-Paths: in stable/12: gnu/usr.bin/gperf lib/libc++ lib/libcxxrt lib/libopenbsd lib/libsqlite3 lib/libucl lib/libzstd libexec/dma/dma-mbox-create libexec/dma/dmagent sbin/gvinum sbin/tunefs stand/efi/boot1 sta... X-SVN-Commit-Revision: 365821 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: Wed, 16 Sep 2020 23:17:21 -0000 Author: kevans Date: Wed Sep 16 23:17:15 2020 New Revision: 365821 URL: https://svnweb.freebsd.org/changeset/base/365821 Log: MFC r365631: Only set WARNS if not defined This would allow interested parties to do experimental runs with an environment set appropriately to raise all the warnings throughout the build; e.g. env WARNS=6 NO_WERROR=yes buildworld. Not currently touching the numerous instances in ^/tools. Modified: stable/12/gnu/usr.bin/gperf/Makefile stable/12/lib/libc++/Makefile stable/12/lib/libcxxrt/Makefile stable/12/lib/libopenbsd/Makefile stable/12/lib/libsqlite3/Makefile stable/12/lib/libucl/Makefile stable/12/lib/libzstd/Makefile stable/12/libexec/dma/dma-mbox-create/Makefile stable/12/libexec/dma/dmagent/Makefile stable/12/sbin/gvinum/Makefile stable/12/sbin/tunefs/Makefile stable/12/stand/efi/boot1/Makefile stable/12/stand/efi/gptboot/Makefile stable/12/stand/liblua/Makefile stable/12/usr.bin/bmake/Makefile.inc stable/12/usr.bin/iscsictl/Makefile stable/12/usr.bin/localedef/Makefile stable/12/usr.bin/m4/Makefile stable/12/usr.bin/users/Makefile stable/12/usr.bin/zstd/Makefile stable/12/usr.sbin/autofs/Makefile stable/12/usr.sbin/iscsid/Makefile stable/12/usr.sbin/uefisign/Makefile stable/12/usr.sbin/ypldap/Makefile Directory Properties: stable/12/ (props changed) Modified: stable/12/gnu/usr.bin/gperf/Makefile ============================================================================== --- stable/12/gnu/usr.bin/gperf/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/gnu/usr.bin/gperf/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -9,7 +9,7 @@ PROG_CXX= gperf SRCS= bool-array.cc hash-table.cc input.cc keyword-list.cc keyword.cc \ main.cc options.cc output.cc positions.cc search.cc version.cc \ getline.cc hash.cc -WARNS= 1 +WARNS?= 1 MAN= gperf.1 gperf.7 CXXFLAGS+= -I${GPERFDIR}/lib -I${.CURDIR} Modified: stable/12/lib/libc++/Makefile ============================================================================== --- stable/12/lib/libc++/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/lib/libc++/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -71,7 +71,7 @@ cxxrt_${_S}: ${_LIBCXXRTDIR}/${_S} .NOMETA ln -sf ${.ALLSRC} ${.TARGET} .endfor -WARNS= 0 +WARNS?= 0 CFLAGS+= -isystem ${HDRDIR} CFLAGS+= -isystem ${_LIBCXXRTDIR} CFLAGS+= -nostdinc++ Modified: stable/12/lib/libcxxrt/Makefile ============================================================================== --- stable/12/lib/libcxxrt/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/lib/libcxxrt/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -20,7 +20,7 @@ SRCS+= libelftc_dem_gnu3.c\ typeinfo.cc\ guard.cc -WARNS= 0 +WARNS?= 0 CFLAGS+= -isystem ${SRCDIR} -nostdinc++ CXXSTD?= c++14 VERSION_MAP= ${.CURDIR}/Version.map Modified: stable/12/lib/libopenbsd/Makefile ============================================================================== --- stable/12/lib/libopenbsd/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/lib/libopenbsd/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -10,6 +10,6 @@ INTERNALLIB= CFLAGS+= -I${.CURDIR} -WARNS= 3 +WARNS?= 3 .include Modified: stable/12/lib/libsqlite3/Makefile ============================================================================== --- stable/12/lib/libsqlite3/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/lib/libsqlite3/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -12,7 +12,7 @@ INCS= sqlite3.h sqlite3ext.h SQLITE= ${SRCTOP}/contrib/sqlite3 .PATH: ${SQLITE} -WARNS= 3 +WARNS?= 3 CFLAGS+= -I${SQLITE} \ -DUSE_PREAD=1 \ -DSTDC_HEADERS=1 \ Modified: stable/12/lib/libucl/Makefile ============================================================================== --- stable/12/lib/libucl/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/lib/libucl/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -23,7 +23,7 @@ SRCS= ucl_emitter_streamline.c \ INCS= ucl.h LIBADD= m -WARNS= 1 +WARNS?= 1 CFLAGS+= -I${LIBUCL}/include \ -I${LIBUCL}/src \ -I${LIBUCL}/uthash \ Modified: stable/12/lib/libzstd/Makefile ============================================================================== --- stable/12/lib/libzstd/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/lib/libzstd/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -25,7 +25,7 @@ SRCS= entropy_common.c \ zstd_ldm.c \ zstd_opt.c \ zstd_double_fast.c -WARNS= 2 +WARNS?= 2 INCS= zstd.h CFLAGS+= -I${ZSTDDIR}/lib -I${ZSTDDIR}/lib/common -DXXH_NAMESPACE=ZSTD_ \ -DZSTD_MULTITHREAD=1 Modified: stable/12/libexec/dma/dma-mbox-create/Makefile ============================================================================== --- stable/12/libexec/dma/dma-mbox-create/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/libexec/dma/dma-mbox-create/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -2,7 +2,7 @@ MAN= -WARNS= 2 +WARNS?= 2 PROG= dma-mbox-create BINMODE= 4554 Modified: stable/12/libexec/dma/dmagent/Makefile ============================================================================== --- stable/12/libexec/dma/dmagent/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/libexec/dma/dmagent/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -35,7 +35,7 @@ BINMODE= 2555 .include .if ${COMPILER_TYPE} == gcc -WARNS= 5 +WARNS?= 5 .endif .include Modified: stable/12/sbin/gvinum/Makefile ============================================================================== --- stable/12/sbin/gvinum/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/sbin/gvinum/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -5,7 +5,7 @@ PROG= gvinum SRCS= gvinum.c gvinum.h geom_vinum_share.c MAN= gvinum.8 -WARNS= 2 +WARNS?= 2 CFLAGS+= -I${SRCTOP}/sys -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/edit LIBADD= edit geom Modified: stable/12/sbin/tunefs/Makefile ============================================================================== --- stable/12/sbin/tunefs/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/sbin/tunefs/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -11,6 +11,6 @@ MOUNT= ${SRCTOP}/sbin/mount CFLAGS+= -I${MOUNT} .PATH: ${MOUNT} -WARNS= 3 +WARNS?= 3 .include Modified: stable/12/stand/efi/boot1/Makefile ============================================================================== --- stable/12/stand/efi/boot1/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/stand/efi/boot1/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -5,7 +5,7 @@ BOOT1?= boot1 PROG= ${BOOT1}.sym INTERNALPROG= -WARNS= 6 +WARNS?= 6 CFLAGS+= -DEFI_BOOT1 # We implement a slightly non-standard %S in that it always takes a Modified: stable/12/stand/efi/gptboot/Makefile ============================================================================== --- stable/12/stand/efi/gptboot/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/stand/efi/gptboot/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -13,5 +13,5 @@ CFLAGS+= -I${.CURDIR} CFLAGS+= -DBOOTPROG=\"gptboot.efi\" SRCS+= gpt.c CWARNFLAGS.gpt.c+= -Wno-sign-compare -Wno-cast-align -WARNS=6 +WARNS?=6 .include "${.CURDIR}/../boot1/Makefile" Modified: stable/12/stand/liblua/Makefile ============================================================================== --- stable/12/stand/liblua/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/stand/liblua/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -28,7 +28,7 @@ SRCS+= lerrno.c lstd.c lutils.c .PATH: ${FLUASRC}/modules SRCS+= lfs.c -WARNS= 3 +WARNS?= 3 CFLAGS+= -DLUA_PATH=\"${LUAPATH}\" -DLUA_PATH_DEFAULT=\"${LUAPATH}/\?.lua\" CFLAGS+= -ffreestanding -nostdlib -DLUA_USE_POSIX Modified: stable/12/usr.bin/bmake/Makefile.inc ============================================================================== --- stable/12/usr.bin/bmake/Makefile.inc Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/usr.bin/bmake/Makefile.inc Wed Sep 16 23:17:15 2020 (r365821) @@ -22,7 +22,7 @@ NO_SHARED?= YES SUBDIR+= tests .endif -WARNS=3 +WARNS?=3 CFLAGS+= -DNO_PWD_OVERRIDE .if make(after-import) Modified: stable/12/usr.bin/iscsictl/Makefile ============================================================================== --- stable/12/usr.bin/iscsictl/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/usr.bin/iscsictl/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -13,7 +13,7 @@ YFLAGS+= -v LFLAGS+= -i CLEANFILES= y.tab.c y.tab.h y.output -WARNS= 6 +WARNS?= 6 NO_WMISSING_VARIABLE_DECLARATIONS= .include Modified: stable/12/usr.bin/localedef/Makefile ============================================================================== --- stable/12/usr.bin/localedef/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/usr.bin/localedef/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -13,7 +13,7 @@ SRCS= charmap.c \ time.c \ wide.c -WARNS= 3 +WARNS?= 3 ${SRCS:M*.c}: parser.h parser.h: parser.y Modified: stable/12/usr.bin/m4/Makefile ============================================================================== --- stable/12/usr.bin/m4/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/usr.bin/m4/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -14,7 +14,7 @@ NO_WMISSING_VARIABLE_DECLARATIONS= SRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c parser.y tokenizer.l -WARNS= 3 +WARNS?= 3 tokenizer.o: parser.h Modified: stable/12/usr.bin/users/Makefile ============================================================================== --- stable/12/usr.bin/users/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/usr.bin/users/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -1,7 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ -WARNS= 3 +WARNS?= 3 PROG_CXX= users CXXFLAGS+= -fno-rtti Modified: stable/12/usr.bin/zstd/Makefile ============================================================================== --- stable/12/usr.bin/zstd/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/usr.bin/zstd/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -22,7 +22,7 @@ MLINKS= zstd.1 unzstd.1 \ zstd.1 zstdcat.1 \ zstd.1 zstdmt.1 -WARNS= 2 +WARNS?= 2 LIBADD= zstd .PATH: ${SRCTOP}/sys/contrib/zstd/programs Modified: stable/12/usr.sbin/autofs/Makefile ============================================================================== --- stable/12/usr.sbin/autofs/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/usr.sbin/autofs/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -24,7 +24,7 @@ LIBADD= util MOUNT= ${SRCTOP}/sbin/mount CFLAGS+=-I${MOUNT} -WARNS= 6 +WARNS?= 6 LINKS= ${BINDIR}/automountd ${BINDIR}/automount LINKS+= ${BINDIR}/automountd ${BINDIR}/autounmountd Modified: stable/12/usr.sbin/iscsid/Makefile ============================================================================== --- stable/12/usr.sbin/iscsid/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/usr.sbin/iscsid/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -11,6 +11,6 @@ MAN= iscsid.8 LIBADD= md util -WARNS= 6 +WARNS?= 6 .include Modified: stable/12/usr.sbin/uefisign/Makefile ============================================================================== --- stable/12/usr.sbin/uefisign/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/usr.sbin/uefisign/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -6,6 +6,6 @@ MAN= uefisign.8 LIBADD= crypto -WARNS= 6 +WARNS?= 6 .include Modified: stable/12/usr.sbin/ypldap/Makefile ============================================================================== --- stable/12/usr.sbin/ypldap/Makefile Wed Sep 16 23:14:22 2020 (r365820) +++ stable/12/usr.sbin/ypldap/Makefile Wed Sep 16 23:17:15 2020 (r365821) @@ -15,6 +15,6 @@ CFLAGS+=-I${.CURDIR} CFLAGS+=-I${SRCTOP}/contrib/pf/libevent CFLAGS+=-I${SRCTOP}/lib/libopenbsd -WARNS= 2 +WARNS?= 2 .include