Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/w Forbid gcc to whine about intended format truncation
details: https://anonhg.NetBSD.org/src/rev/8ae3183340d7
branches: trunk
changeset: 935374:8ae3183340d7
user: martin <martin%NetBSD.org@localhost>
date: Wed Jul 01 06:31:18 2020 +0000
description:
Forbid gcc to whine about intended format truncation
diffstat:
usr.bin/w/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 8e38e3203b8d -r 8ae3183340d7 usr.bin/w/Makefile
--- a/usr.bin/w/Makefile Wed Jul 01 05:37:25 2020 +0000
+++ b/usr.bin/w/Makefile Wed Jul 01 06:31:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2011/10/21 02:26:09 christos Exp $
+# $NetBSD: Makefile,v 1.22 2020/07/01 06:31:18 martin Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk>
@@ -14,5 +14,6 @@
.PATH: ${NETBSDSRCDIR}/bin/ps
COPTS.pr_time.c += -Wno-format-y2k
+COPTS.w.c += ${GCC_NO_FORMAT_TRUNCATION}
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index