From a5a0222a699439fc0c1abdb88a3bba8d74d95aee Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 29 Oct 2019 21:30:42 +0000 Subject: Gcc-8 bug confusion with restrict on sh3 --- battlestar/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'battlestar') diff --git a/battlestar/Makefile b/battlestar/Makefile index 0b5bb494..70c79ea7 100644 --- a/battlestar/Makefile +++ b/battlestar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2010/02/06 23:45:24 he Exp $ +# $NetBSD: Makefile,v 1.11 2019/10/29 21:30:42 christos Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= battlestar @@ -12,4 +12,8 @@ LDADD= -lcurses -lterminfo HIDEGAME=hidegame SETGIDGAME=yes +.if !empty(MACHINE_ARCH:Msh3*) +COPTS.parse.c+=-Wno-restrict +.endif + .include -- cgit v1.2.3-56-ge451