Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/tftp user.bin/tftp: Suppress -Werror=format-overflow...
details: https://anonhg.NetBSD.org/src/rev/1a53b2979c14
branches: trunk
changeset: 744635:1a53b2979c14
user: fox <fox%NetBSD.org@localhost>
date: Sat Feb 08 13:33:56 2020 +0000
description:
user.bin/tftp: Suppress -Werror=format-overflow error.
Add -Wno-error=format-overflow tftp.c to prevent build failure.
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@
diffstat:
usr.bin/tftp/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 878ea065669b -r 1a53b2979c14 usr.bin/tftp/Makefile
--- a/usr.bin/tftp/Makefile Sat Feb 08 13:27:00 2020 +0000
+++ b/usr.bin/tftp/Makefile Sat Feb 08 13:33:56 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/10/04 09:47:28 mrg Exp $
+# $NetBSD: Makefile,v 1.13 2020/02/08 13:33:56 fox Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
WARNS?=2
@@ -9,5 +9,6 @@
SRCS= main.c tftp.c tftpsubs.c
COPTS.tftp.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-array-bounds :}
+COPTS.tftp.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index