Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/fetch/lib No error for stringop truncation.
details: https://anonhg.NetBSD.org/src/rev/9bbe5523393d
branches: trunk
changeset: 464514:9bbe5523393d
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 09 21:19:28 2019 +0000
description:
No error for stringop truncation.
diffstat:
external/bsd/fetch/lib/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 4ca286f08074 -r 9bbe5523393d external/bsd/fetch/lib/Makefile
--- a/external/bsd/fetch/lib/Makefile Wed Oct 09 21:05:43 2019 +0000
+++ b/external/bsd/fetch/lib/Makefile Wed Oct 09 21:19:28 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/08/27 22:48:53 kamil Exp $
+# $NetBSD: Makefile,v 1.13 2019/10/09 21:19:28 christos Exp $
LIB= fetch
SRCS= fetch.c common.c ftp.c http.c file.c
@@ -36,4 +36,8 @@
CFLAGS+= -Wno-macro-redefined # _REENTRANT redefined
.endif
+.if ${ACTIVE_CC} == "gcc"
+COPTS.http.c += -Wno-error=stringop-truncation
+.endif
+
.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index