Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/battlestar Gcc-8 bug confusion with restrict on sh3



details:   https://anonhg.NetBSD.org/src/rev/2a1064d20e18
branches:  trunk
changeset: 966434:2a1064d20e18
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 29 21:30:42 2019 +0000

description:
Gcc-8 bug confusion with restrict on sh3

diffstat:

 games/battlestar/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 237c82681a4f -r 2a1064d20e18 games/battlestar/Makefile
--- a/games/battlestar/Makefile Tue Oct 29 21:16:25 2019 +0000
+++ b/games/battlestar/Makefile Tue Oct 29 21:30:42 2019 +0000
@@ -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 @@
 HIDEGAME=hidegame
 SETGIDGAME=yes
 
+.if !empty(MACHINE_ARCH:Msh3*)
+COPTS.parse.c+=-Wno-restrict
+.endif
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index