summaryrefslogtreecommitdiffstats
path: root/battlestar
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2019-10-29 21:30:42 +0000
committerchristos <christos@NetBSD.org>2019-10-29 21:30:42 +0000
commita5a0222a699439fc0c1abdb88a3bba8d74d95aee (patch)
tree675da2ccc7df4b4ebfae9b8440ee49072aae0502 /battlestar
parent6345e6c0941610a2d39dbe37edfa55be569816b5 (diff)
downloadbsdgames-darwin-a5a0222a699439fc0c1abdb88a3bba8d74d95aee.tar.gz
bsdgames-darwin-a5a0222a699439fc0c1abdb88a3bba8d74d95aee.tar.zst
bsdgames-darwin-a5a0222a699439fc0c1abdb88a3bba8d74d95aee.zip
Gcc-8 bug confusion with restrict on sh3
Diffstat (limited to 'battlestar')
-rw-r--r--battlestar/Makefile6
1 files changed, 5 insertions, 1 deletions
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 <bsd.prog.mk>