From e45d30c7464f128a10b06dd627531e6197c26691 Mon Sep 17 00:00:00 2001 From: rin Date: Mon, 10 Aug 2020 06:54:45 +0000 Subject: [PATCH] Silence -Wstringop-truncation for ``name'' in disp_selected_part(). This variable is used only for display, and truncation seems harmless. --- usr.sbin/sysinst/arch/mac68k/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.sbin/sysinst/arch/mac68k/Makefile b/usr.sbin/sysinst/arch/mac68k/Makefile index 508553781e16..444205fb031b 100644 --- a/usr.sbin/sysinst/arch/mac68k/Makefile +++ b/usr.sbin/sysinst/arch/mac68k/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:21 martin Exp $ +# $NetBSD: Makefile,v 1.3 2020/08/10 06:54:45 rin Exp $ # # Makefile for mac68k # @@ -13,4 +13,7 @@ NO_GPT= yes NO_MBR= yes .endif +# XXX +COPTS.md.c= -Wno-stringop-truncation + .include "../../Makefile.inc"