Module Name:    src
Committed By:   christos
Date:           Tue Oct 29 21:30:42 UTC 2019

Modified Files:
        src/games/battlestar: Makefile

Log Message:
Gcc-8 bug confusion with restrict on sh3


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/games/battlestar/Makefile

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

Modified files:

Index: src/games/battlestar/Makefile
diff -u src/games/battlestar/Makefile:1.10 src/games/battlestar/Makefile:1.11
--- src/games/battlestar/Makefile:1.10	Sat Feb  6 18:45:24 2010
+++ src/games/battlestar/Makefile	Tue Oct 29 17:30:42 2019
@@ -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 <bsd.prog.mk>

Reply via email to