Module Name: src Committed By: christos Date: Wed Oct 9 21:19:28 UTC 2019
Modified Files: src/external/bsd/fetch/lib: Makefile Log Message: No error for stringop truncation. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/bsd/fetch/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/fetch/lib/Makefile diff -u src/external/bsd/fetch/lib/Makefile:1.12 src/external/bsd/fetch/lib/Makefile:1.13 --- src/external/bsd/fetch/lib/Makefile:1.12 Tue Aug 27 18:48:53 2019 +++ src/external/bsd/fetch/lib/Makefile Wed Oct 9 17:19:28 2019 @@ -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 @@ httperr.h: ${LIBFETCHDIR}/http.errors ${ CFLAGS+= -Wno-macro-redefined # _REENTRANT redefined .endif +.if ${ACTIVE_CC} == "gcc" +COPTS.http.c += -Wno-error=stringop-truncation +.endif + .include <bsd.lib.mk>