Module Name:    src
Committed By:   fox
Date:           Sun Feb  9 15:13:28 UTC 2020

Modified Files:
        src/usr.sbin/timed/timed: Makefile

Log Message:
usr.sbin/timed: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION master.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/timed/timed/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/timed/timed/Makefile
diff -u src/usr.sbin/timed/timed/Makefile:1.13 src/usr.sbin/timed/timed/Makefile:1.14
--- src/usr.sbin/timed/timed/Makefile:1.13	Mon Nov 11 22:45:32 2019
+++ src/usr.sbin/timed/timed/Makefile	Sun Feb  9 15:13:28 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2019/11/11 22:45:32 joerg Exp $
+#	$NetBSD: Makefile,v 1.14 2020/02/09 15:13:28 fox Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
 #
 # optional flags are: MEASURE TESTING DEBUG
@@ -13,4 +13,6 @@ MAN=	timed.8
 
 CWARNFLAGS.clang+=	-Wno-error=implicit-int-float-conversion
 
+COPTS.master.c+=	${GCC_NO_STRINGOP_TRUNCATION}
+
 .include <bsd.prog.mk>

Reply via email to