Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src bsd.own.mk: rename GCC_NO_* to CC_WNO_*
details: https://anonhg.NetBSD.org/src/rev/5b2b209f681d
branches: trunk
changeset: 376144:5b2b209f681d
user: lukem <lukem%NetBSD.org@localhost>
date: Sat Jun 03 09:09:01 2023 +0000
description:
bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
diffstat:
bin/pax/Makefile | 4 +-
crypto/external/bsd/netpgp/bin/netpgpverify/Makefile | 4 +-
crypto/external/bsd/netpgp/lib/netpgp/Makefile | 4 +-
crypto/external/bsd/netpgp/lib/verify/Makefile | 4 +-
crypto/external/bsd/openssh/bin/ssh-agent/Makefile | 4 +-
crypto/external/bsd/openssh/bin/ssh-keygen/Makefile | 4 +-
crypto/external/bsd/openssh/bin/ssh/Makefile | 4 +-
crypto/external/bsd/openssh/bin/sshd/Makefile | 6 +-
crypto/external/bsd/openssh/lib/Makefile | 6 +-
distrib/utils/zcat/Makefile | 4 +-
external/apache2/llvm/lib/libLLVMAnalysis/Makefile | 4 +-
external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile | 4 +-
external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile | 4 +-
external/bsd/am-utils/bin/amd/Makefile | 4 +-
external/bsd/atf/lib/libatf-c/Makefile | 4 +-
external/bsd/fetch/lib/Makefile | 4 +-
external/bsd/flex/bin/Makefile | 8 +-
external/bsd/ipf/Makefile.inc | 4 +-
external/bsd/ipf/bin/ipfstat/Makefile | 4 +-
external/bsd/ipf/bin/ipftest/Makefile | 4 +-
external/bsd/ipf/bin/ipmon/Makefile | 4 +-
external/bsd/iscsi/lib/Makefile | 4 +-
external/bsd/libarchive/lib/libarchive/Makefile | 16 +++---
external/bsd/libpcap/lib/Makefile | 10 ++--
external/bsd/mdocml/bin/mandoc/Makefile | 4 +-
external/bsd/ntp/bin/ntpd/Makefile | 14 +++---
external/bsd/ntp/bin/ntpq/Makefile | 4 +-
external/bsd/ntp/bin/sntp/Makefile | 4 +-
external/bsd/ntp/lib/libntp/Makefile | 4 +-
external/bsd/ntp/lib/libopts/Makefile | 4 +-
external/bsd/openldap/lib/liblber/Makefile | 4 +-
external/bsd/openldap/lib/libldap/Makefile.libldap | 4 +-
external/bsd/pdisk/bin/Makefile | 6 +-
external/bsd/ppp/usr.sbin/pppd/Makefile | 4 +-
external/bsd/ppp/usr.sbin/pppstats/Makefile | 4 +-
external/bsd/tcpdump/bin/Makefile | 4 +-
external/bsd/tmux/usr.bin/tmux/Makefile | 6 +-
external/bsd/top/bin/Makefile | 4 +-
external/cddl/osnet/lib/libdtrace/Makefile | 8 +-
external/cddl/osnet/usr.bin/ctfconvert/Makefile | 6 +-
external/cddl/osnet/usr.bin/ctfmerge/Makefile | 4 +-
external/gpl2/groff/bin/troff/Makefile | 4 +-
external/gpl2/lvm2/lib/libdevmapper/Makefile | 6 +-
external/gpl2/lvm2/lib/liblvm/Makefile | 4 +-
external/gpl2/xcvs/bin/xcvs/Makefile | 16 +++---
external/gpl3/gcc.old/README.warnings | 34 ++++++++--------
external/gpl3/gcc.old/lib/libiberty/Makefile | 4 +-
external/gpl3/gcc.old/usr.bin/common-target/Makefile | 4 +-
external/gpl3/gcc/README.warnings | 34 ++++++++--------
external/gpl3/gcc/lib/libiberty/Makefile | 4 +-
external/gpl3/gcc/usr.bin/common-target/Makefile | 4 +-
external/mit/lua/lib/liblua/Makefile | 4 +-
external/mit/xorg/bin/xauth/Makefile | 4 +-
external/mit/xorg/bin/xconsole/Makefile | 4 +-
external/mit/xorg/bin/xmh/Makefile | 4 +-
external/mit/xorg/lib/libX11/Makefile.ximcp | 4 +-
external/mit/xorg/lib/libX11/Makefile.xlibi18n | 4 +-
external/mit/xorg/lib/libXvMCW/Makefile | 4 +-
external/mit/xorg/lib/libxkbfile/Makefile | 4 +-
external/mit/xorg/server/drivers/xf86-video-sis/Makefile | 4 +-
external/mpl/bind/bin/dnssec/dnssec-verify/Makefile | 4 +-
external/mpl/dhcp/bin/relay/Makefile | 4 +-
external/mpl/dhcp/bin/server/Makefile | 6 +-
external/mpl/dhcp/lib/common/Makefile | 6 +-
external/public-domain/sqlite/lib/Makefile | 4 +-
external/public-domain/xz/bin/xz/Makefile | 4 +-
external/zlib/pigz/bin/pigz/Makefile | 4 +-
games/hack/Makefile | 8 +-
games/hunt/hunt/Makefile | 4 +-
games/hunt/huntd/Makefile | 8 +-
games/rogue/Makefile | 4 +-
games/tetris/Makefile | 6 +-
lib/libc/citrus/Makefile.inc | 6 +-
lib/libc/net/Makefile.inc | 4 +-
lib/libc/resolv/Makefile.inc | 4 +-
lib/libc/rpc/Makefile.inc | 20 ++++----
lib/libedit/Makefile | 8 +-
lib/libisns/Makefile | 4 +-
lib/libpam/libpam/Makefile | 4 +-
lib/libpam/modules/pam_lastlog/Makefile | 4 +-
lib/librump/Makefile | 10 ++--
lib/librumpclient/Makefile | 4 +-
lib/librumpres/Makefile | 4 +-
lib/librumpuser/Makefile | 4 +-
lib/libutil/Makefile | 6 +-
lib/libz/Makefile | 6 +-
libexec/ftpd/Makefile | 10 ++--
libexec/lfs_cleanerd/Makefile.inc | 4 +-
libexec/rpc.rquotad/Makefile | 4 +-
libexec/rpc.rstatd/Makefile | 4 +-
libexec/rpc.rusersd/Makefile | 4 +-
libexec/rpc.rwalld/Makefile | 4 +-
libexec/rpc.sprayd/Makefile | 4 +-
sbin/disklabel/Makefile | 6 +-
sbin/dump/Makefile | 6 +-
sbin/dump_lfs/Makefile | 4 +-
sbin/fdisk/Makefile | 4 +-
sbin/init/Makefile | 4 +-
sbin/iscsictl/Makefile | 4 +-
sbin/pppoectl/Makefile | 4 +-
sbin/raidctl/Makefile | 4 +-
sbin/restore/Makefile | 6 +-
sbin/rndctl/Makefile | 4 +-
sbin/route/Makefile | 4 +-
sbin/routed/Makefile | 4 +-
sbin/umount/Makefile | 4 +-
share/mk/bsd.own.mk | 32 ++++++++------
sys/conf/copts.mk | 8 +-
sys/modules/coredump/Makefile | 4 +-
sys/modules/drmkms_ttm/Makefile | 4 +-
sys/modules/dtrace/dtrace/Makefile | 4 +-
sys/modules/hpacel/Makefile | 4 +-
sys/modules/i915drmkms/Makefile | 10 ++--
sys/modules/lua/Makefile | 4 +-
sys/modules/ptrace_common/Makefile | 4 +-
sys/rump/fs/lib/libffs/Makefile | 4 +-
sys/rump/librump/rumpkern/Makefile.rumpkern | 12 ++--
sys/rump/net/lib/libnet/Makefile | 8 +-
tests/fs/common/Makefile | 14 +++---
tests/fs/nfs/nfsservice/Makefile | 12 ++--
tests/lib/libarchive/Makefile | 4 +-
tests/lib/libc/rpc/Makefile | 4 +-
tests/lib/libc/ssp/Makefile | 4 +-
tests/lib/libc/string/Makefile | 4 +-
tests/lib/libevent/Makefile | 6 +-
tests/sys/netatalk/Makefile | 4 +-
tools/compat/defs.mk.in | 10 ++--
usr.bin/btpin/Makefile | 4 +-
usr.bin/config/Makefile | 8 +-
usr.bin/crunch/crunchgen/Makefile | 4 +-
usr.bin/cvslatest/Makefile | 4 +-
usr.bin/fstat/Makefile | 4 +-
usr.bin/ftp/Makefile | 4 +-
usr.bin/hexdump/Makefile | 4 +-
usr.bin/login/Makefile | 6 +-
usr.bin/mail/Makefile | 4 +-
usr.bin/make/Makefile | 10 ++--
usr.bin/man/Makefile | 4 +-
usr.bin/mklocale/Makefile | 4 +-
usr.bin/msgs/Makefile | 4 +-
usr.bin/netstat/Makefile | 8 +-
usr.bin/quota/Makefile | 4 +-
usr.bin/rdist/Makefile | 4 +-
usr.bin/rpcgen/Makefile | 4 +-
usr.bin/rpcinfo/Makefile | 4 +-
usr.bin/rup/Makefile | 4 +-
usr.bin/rusers/Makefile | 4 +-
usr.bin/rwall/Makefile | 4 +-
usr.bin/showmount/Makefile | 4 +-
usr.bin/sort/Makefile | 4 +-
usr.bin/systat/Makefile | 8 +-
usr.bin/talk/Makefile | 4 +-
usr.bin/telnet/Makefile | 4 +-
usr.bin/tftp/Makefile | 4 +-
usr.bin/unifdef/Makefile | 4 +-
usr.bin/utoppya/Makefile | 4 +-
usr.bin/w/Makefile | 4 +-
usr.bin/wall/Makefile | 4 +-
usr.bin/xinstall/Makefile | 4 +-
usr.sbin/acpitools/amldb/Makefile | 4 +-
usr.sbin/altq/altqstat/Makefile | 4 +-
usr.sbin/altq/libaltq/Makefile | 4 +-
usr.sbin/altq/tbrconfig/Makefile | 4 +-
usr.sbin/apm/Makefile | 4 +-
usr.sbin/apmd/Makefile | 4 +-
usr.sbin/btpand/Makefile | 4 +-
usr.sbin/catman/Makefile | 4 +-
usr.sbin/cnwctl/Makefile | 4 +-
usr.sbin/crash/Makefile | 4 +-
usr.sbin/edquota/Makefile | 4 +-
usr.sbin/ifwatchd/Makefile | 4 +-
usr.sbin/ipwctl/Makefile | 4 +-
usr.sbin/iwictl/Makefile | 4 +-
usr.sbin/makefs/Makefile | 12 ++--
usr.sbin/mopd/common/Makefile | 4 +-
usr.sbin/mopd/mopd/Makefile | 4 +-
usr.sbin/mountd/Makefile | 4 +-
usr.sbin/mrouted/Makefile | 6 +-
usr.sbin/perfused/Makefile | 4 +-
usr.sbin/pf/pfctl/Makefile | 4 +-
usr.sbin/rarpd/Makefile | 4 +-
usr.sbin/rbootd/Makefile | 4 +-
usr.sbin/repquota/Makefile | 4 +-
usr.sbin/route6d/Makefile | 4 +-
usr.sbin/rpc.bootparamd/Makefile | 4 +-
usr.sbin/rpc.lockd/Makefile | 8 +-
usr.sbin/rpc.pcnfsd/Makefile | 8 +-
usr.sbin/rpc.statd/Makefile | 10 ++--
usr.sbin/rpc.yppasswdd/Makefile | 4 +-
usr.sbin/rpcbind/Makefile | 10 ++--
usr.sbin/rtadvd/Makefile | 6 +-
usr.sbin/rwhod/Makefile | 4 +-
usr.sbin/sliplogin/Makefile | 4 +-
usr.sbin/spray/Makefile | 4 +-
usr.sbin/srtconfig/Makefile | 4 +-
usr.sbin/sysinst/Makefile.inc | 8 +-
usr.sbin/syslogd/Makefile | 4 +-
usr.sbin/timed/timed/Makefile | 4 +-
usr.sbin/wiconfig/Makefile | 4 +-
usr.sbin/ypbind/Makefile | 4 +-
usr.sbin/ypserv/makedbm/Makefile | 4 +-
usr.sbin/ypserv/yppush/Makefile | 6 +-
usr.sbin/ypserv/ypserv/Makefile | 4 +-
usr.sbin/ypserv/ypxfr/Makefile | 4 +-
usr.sbin/ypset/Makefile | 4 +-
205 files changed, 568 insertions(+), 564 deletions(-)
diffs (truncated from 3957 to 300 lines):
diff -r 47844a3a69b6 -r 5b2b209f681d bin/pax/Makefile
--- a/bin/pax/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/bin/pax/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2019/10/13 07:28:04 mrg Exp $
+# $NetBSD: Makefile,v 1.42 2023/06/03 09:09:01 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
.include <bsd.own.mk>
@@ -50,6 +50,6 @@ LDADD+= -lrmt
DPADD+= ${LIBRMT}
.endif
-COPTS.tar.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+COPTS.tar.c+= ${CC_WNO_STRINGOP_TRUNCATION}
.include <bsd.prog.mk>
diff -r 47844a3a69b6 -r 5b2b209f681d crypto/external/bsd/netpgp/bin/netpgpverify/Makefile
--- a/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2022/08/27 08:58:31 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2023/06/03 09:09:01 lukem Exp $
PROG=netpgpverify
BINDIR= /usr/bin
@@ -36,7 +36,7 @@ EXTDIST=${.CURDIR}/../../dist
COPTS+= -Wno-error=implicit-fallthrough
.endif
-COPTS.libverify.c+= ${GCC_NO_FORMAT_TRUNCATION}
+COPTS.libverify.c+= ${CC_WNO_FORMAT_TRUNCATION}
.include <bsd.prog.mk>
diff -r 47844a3a69b6 -r 5b2b209f681d crypto/external/bsd/netpgp/lib/netpgp/Makefile
--- a/crypto/external/bsd/netpgp/lib/netpgp/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/crypto/external/bsd/netpgp/lib/netpgp/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/05/09 00:14:44 christos Exp $
+# $NetBSD: Makefile,v 1.6 2023/06/03 09:09:01 lukem Exp $
.include <bsd.own.mk>
@@ -26,7 +26,7 @@ LIBDPLIBS+= crypto ${OPENSSL}/lib/libcr
LIBDPLIBS+= z ${NETBSDSRCDIR}/lib/libz
LIBDPLIBS+= bz2 ${NETBSDSRCDIR}/lib/libbz2
-COPTS.crypto.c+= ${GCC_NO_STRINGOP_OVERFLOW}
+COPTS.crypto.c+= ${CC_WNO_STRINGOP_OVERFLOW}
COPTS.openssl_crypto.c+=-Wno-error=deprecated-declarations
COPTS.symmetric.c+=-Wno-error=deprecated-declarations
diff -r 47844a3a69b6 -r 5b2b209f681d crypto/external/bsd/netpgp/lib/verify/Makefile
--- a/crypto/external/bsd/netpgp/lib/verify/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/crypto/external/bsd/netpgp/lib/verify/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2022/08/27 08:58:32 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2023/06/03 09:09:01 lukem Exp $
LIB=netpgpverify
SRCS+=b64.c
@@ -28,7 +28,7 @@ INCSDIR=/usr/include/netpgp
.include <bsd.own.mk>
COPTS+= ${${ACTIVE_CC} == "gcc":? -Wno-implicit-fallthrough :}
-COPTS.libverify.c+= ${GCC_NO_FORMAT_TRUNCATION}
+COPTS.libverify.c+= ${CC_WNO_FORMAT_TRUNCATION}
LINTFLAGS.bzlib.c+= -X 161 # constant in conditional context
LINTFLAGS.bzlib.c+= -X 220 # fallthrough on case statement
diff -r 47844a3a69b6 -r 5b2b209f681d crypto/external/bsd/openssh/bin/ssh-agent/Makefile
--- a/crypto/external/bsd/openssh/bin/ssh-agent/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/crypto/external/bsd/openssh/bin/ssh-agent/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.6 2023/05/09 22:25:26 christos Exp $
+# $NetBSD: Makefile,v 1.7 2023/06/03 09:09:02 lukem Exp $
BINDIR=/usr/bin
PROG= ssh-agent
SRCS= ssh-agent.c ssh-pkcs11-client.c
-COPTS.ssh-agent.c+= ${GCC_NO_FORMAT_TRUNCATION}
+COPTS.ssh-agent.c+= ${CC_WNO_FORMAT_TRUNCATION}
COPTS.ssh-pkcs11-client.c+= -Wno-error=deprecated-declarations
.include <bsd.prog.mk>
diff -r 47844a3a69b6 -r 5b2b209f681d crypto/external/bsd/openssh/bin/ssh-keygen/Makefile
--- a/crypto/external/bsd/openssh/bin/ssh-keygen/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/crypto/external/bsd/openssh/bin/ssh-keygen/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2023/05/09 22:25:26 christos Exp $
+# $NetBSD: Makefile,v 1.10 2023/06/03 09:09:02 lukem Exp $
BINDIR= /usr/bin
@@ -7,7 +7,7 @@ SRCS= ssh-keygen.c moduli.c sshsig.c
COPTS.ssh-keygen.c+= -Wno-pointer-sign
-COPTS.ssh-keygen.c+= ${GCC_NO_FORMAT_TRUNCATION}
+COPTS.ssh-keygen.c+= ${CC_WNO_FORMAT_TRUNCATION}
COPTS.ssh-keygen.c+= -Wno-error=deprecated-declarations
COPTS.moduli.c+= -Wno-error=deprecated-declarations
diff -r 47844a3a69b6 -r 5b2b209f681d crypto/external/bsd/openssh/bin/ssh/Makefile
--- a/crypto/external/bsd/openssh/bin/ssh/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/crypto/external/bsd/openssh/bin/ssh/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2022/10/05 22:39:36 christos Exp $
+# $NetBSD: Makefile,v 1.19 2023/06/03 09:09:02 lukem Exp $
.include <bsd.own.mk>
@@ -23,6 +23,6 @@ LDADD+= -lgssapi -lheimntlm ${LIBKRB5_LD
DPADD+= ${LIBGSSAPI} ${LIBHEIMNTLM} ${LIBKRB5_DPADD}
.endif
-COPTS.sshconnect.c+= ${GCC_NO_FORMAT_TRUNCATION}
+COPTS.sshconnect.c+= ${CC_WNO_FORMAT_TRUNCATION}
.include <bsd.prog.mk>
diff -r 47844a3a69b6 -r 5b2b209f681d crypto/external/bsd/openssh/bin/sshd/Makefile
--- a/crypto/external/bsd/openssh/bin/sshd/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/crypto/external/bsd/openssh/bin/sshd/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2023/05/09 22:25:26 christos Exp $
+# $NetBSD: Makefile,v 1.27 2023/06/03 09:09:02 lukem Exp $
.include <bsd.own.mk>
@@ -71,8 +71,8 @@ LDADD+= -lblocklist
DPADD+= ${LIBBLOCKLIST}
.endif
-COPTS.sshlogin.c+= ${GCC_NO_STRINGOP_TRUNCATION}
-COPTS.ldapauth.c+= ${GCC_NO_STRINGOP_TRUNCATION} ${GCC_NO_STRINGOP_OVERFLOW}
+COPTS.sshlogin.c+= ${CC_WNO_STRINGOP_TRUNCATION}
+COPTS.ldapauth.c+= ${CC_WNO_STRINGOP_TRUNCATION} ${CC_WNO_STRINGOP_OVERFLOW}
COPTS.monitor.c+= -Wno-error=deprecated-declarations
COPTS.kexgexs.c+= -Wno-error=deprecated-declarations
diff -r 47844a3a69b6 -r 5b2b209f681d crypto/external/bsd/openssh/lib/Makefile
--- a/crypto/external/bsd/openssh/lib/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/crypto/external/bsd/openssh/lib/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2023/05/09 02:08:31 christos Exp $
+# $NetBSD: Makefile,v 1.36 2023/06/03 09:09:02 lukem Exp $
.include <bsd.own.mk>
@@ -127,8 +127,8 @@ COPTS.poly1305.c+= -O0
COPTS.umac.c+= -O0
.endif
-COPTS.hostfile.c+= ${GCC_NO_FORMAT_TRUNCATION}
-COPTS.sshkey.c+= ${GCC_NO_FORMAT_TRUNCATION}
+COPTS.hostfile.c+= ${CC_WNO_FORMAT_TRUNCATION}
+COPTS.sshkey.c+= ${CC_WNO_FORMAT_TRUNCATION}
COPTS.cipher.c+= -Wno-error=deprecated-declarations
COPTS.dh.c+= -Wno-error=deprecated-declarations
COPTS.kex.c+= -Wno-error=deprecated-declarations
diff -r 47844a3a69b6 -r 5b2b209f681d distrib/utils/zcat/Makefile
--- a/distrib/utils/zcat/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/distrib/utils/zcat/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2021/04/24 04:50:47 mrg Exp $
+# $NetBSD: Makefile,v 1.21 2023/06/03 09:09:02 lukem Exp $
# Small zcat (i.e. for install media)
#
@@ -26,7 +26,7 @@ CPPFLAGS+= -I${LIBC}/include
CPPFLAGS+= -Dsnprintf=snprintf_ss -Dsprintf=sprintf_ss
CPPFLAGS+= -Dstrerror=strerror_ss
-COPTS.inflate.c+= ${GCC_NO_IMPLICIT_FALLTHRU}
+COPTS.inflate.c+= ${CC_WNO_IMPLICIT_FALLTHROUGH}
.include <bsd.prog.mk>
diff -r 47844a3a69b6 -r 5b2b209f681d external/apache2/llvm/lib/libLLVMAnalysis/Makefile
--- a/external/apache2/llvm/lib/libLLVMAnalysis/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/external/apache2/llvm/lib/libLLVMAnalysis/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/05/30 01:56:50 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2023/06/03 09:09:02 lukem Exp $
LIB= LLVMAnalysis
@@ -127,4 +127,4 @@ SRCS+= AliasAnalysis.cpp \
.include <bsd.lib.mk>
.endif
-CWARNFLAGS.gcc+= ${GCC_NO_STRINGOP_OVERFLOW}
+CWARNFLAGS.gcc+= ${CC_WNO_STRINGOP_OVERFLOW}
diff -r 47844a3a69b6 -r 5b2b209f681d external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile
--- a/external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile,v 1.2 2020/09/07 00:18:26 mrg Exp $
+# $NetBSD: Makefile,v 1.3 2023/06/03 09:09:02 lukem Exp $
.include <bsd.init.mk>
-CWARNFLAGS.gcc+= ${GCC_NO_STRINGOP_OVERFLOW}
+CWARNFLAGS.gcc+= ${CC_WNO_STRINGOP_OVERFLOW}
diff -r 47844a3a69b6 -r 5b2b209f681d external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile
--- a/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2023/06/03 08:52:53 lukem Exp $
+# $NetBSD: Makefile,v 1.16 2023/06/03 09:09:02 lukem Exp $
PROG= mdnsd
@@ -20,6 +20,6 @@ MAN= mdnsd.8
CWARNFLAGS.clang+= -Wno-unused-value -Wno-error=address-of-packed-member
CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
-COPTS.DNSCommon.c+= ${GCC_NO_RETURN_LOCAL_ADDR}
+COPTS.DNSCommon.c+= ${CC_WNO_RETURN_LOCAL_ADDR}
.include <bsd.prog.mk>
diff -r 47844a3a69b6 -r 5b2b209f681d external/bsd/am-utils/bin/amd/Makefile
--- a/external/bsd/am-utils/bin/amd/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/external/bsd/am-utils/bin/amd/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2021/08/14 16:17:57 christos Exp $
+# $NetBSD: Makefile,v 1.15 2023/06/03 09:09:03 lukem Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -67,6 +67,6 @@ build_version.h: get_args.c
echo '#define BUILD_HOST "'unknown'"' >> ${.TARGET}
echo '#define BUILD_DATE "'unknown'"' >> ${.TARGET}
-COPTS.sun_map.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+COPTS.sun_map.c+= ${CC_WNO_STRINGOP_TRUNCATION}
.include <bsd.prog.mk>
diff -r 47844a3a69b6 -r 5b2b209f681d external/bsd/atf/lib/libatf-c/Makefile
--- a/external/bsd/atf/lib/libatf-c/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/external/bsd/atf/lib/libatf-c/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2020/06/07 23:09:34 fox Exp $
+# $NetBSD: Makefile,v 1.24 2023/06/03 09:09:03 lukem Exp $
NOLINT= # defined
@@ -54,7 +54,7 @@ INCSDIR_atf-c.h=/usr/include
MAN= atf-c-api.3
COPTS.tc.c+= ${${ACTIVE_CC} == "clang" && ${MACHINE_ARCH} == "powerpc":? -O0 :}
-COPTS.fs.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+COPTS.fs.c+= ${CC_WNO_STRINGOP_TRUNCATION}
.if ${MKSHARE} != "no"
FILES+= atf-c.pc
diff -r 47844a3a69b6 -r 5b2b209f681d external/bsd/fetch/lib/Makefile
--- a/external/bsd/fetch/lib/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/external/bsd/fetch/lib/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2020/06/01 00:55:24 kamil Exp $
+# $NetBSD: Makefile,v 1.18 2023/06/03 09:09:03 lukem Exp $
LIB= fetch
SRCS= fetch.c common.c ftp.c http.c file.c
@@ -32,6 +32,6 @@ httperr.h: ${LIBFETCHDIR}/http.errors ${
${HOST_SH} ${LIBFETCHDIR}/errlist.sh http_errlist HTTP \
${LIBFETCHDIR}/http.errors > ${.TARGET}
-COPTS.http.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+COPTS.http.c+= ${CC_WNO_STRINGOP_TRUNCATION}
.include <bsd.lib.mk>
diff -r 47844a3a69b6 -r 5b2b209f681d external/bsd/flex/bin/Makefile
--- a/external/bsd/flex/bin/Makefile Sat Jun 03 08:52:53 2023 +0000
+++ b/external/bsd/flex/bin/Makefile Sat Jun 03 09:09:01 2023 +0000
@@ -1,5 +1,5 @@
# from: @(#)Makefile 5.4 (Berkeley) 6/24/90
-# $NetBSD: Makefile,v 1.16 2021/04/12 02:54:07 mrg Exp $
+# $NetBSD: Makefile,v 1.17 2023/06/03 09:09:03 lukem Exp $
#
# By default, flex will be configured to generate 8-bit scanners only if the
# -8 flag is given. If you want it to always generate 8-bit scanners, add
@@ -78,8 +78,8 @@ COPTS.scan.c+= -O1
. endif
.endif
-COPTS.filter.c+= ${GCC_NO_FORMAT_TRUNCATION}
-COPTS.misc.c+= ${GCC_NO_FORMAT_TRUNCATION}
-COPTS.parse.c+= ${GCC_NO_FORMAT_TRUNCATION}
+COPTS.filter.c+= ${CC_WNO_FORMAT_TRUNCATION}
+COPTS.misc.c+= ${CC_WNO_FORMAT_TRUNCATION}
+COPTS.parse.c+= ${CC_WNO_FORMAT_TRUNCATION}
.include <bsd.prog.mk>
diff -r 47844a3a69b6 -r 5b2b209f681d external/bsd/ipf/Makefile.inc
--- a/external/bsd/ipf/Makefile.inc Sat Jun 03 08:52:53 2023 +0000
Home |
Main Index |
Thread Index |
Old Index