Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp300/conf apply -Wno-cast-qual upon diofb.c.



details:   https://anonhg.NetBSD.org/src/rev/361033ea4610
branches:  trunk
changeset: 767118:361033ea4610
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Jul 09 15:01:33 2011 +0000

description:
apply -Wno-cast-qual upon diofb.c.

diffstat:

 sys/arch/hp300/conf/Makefile.hp300 |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 1bbeed0dde5c -r 361033ea4610 sys/arch/hp300/conf/Makefile.hp300
--- a/sys/arch/hp300/conf/Makefile.hp300        Sat Jul 09 15:00:43 2011 +0000
+++ b/sys/arch/hp300/conf/Makefile.hp300        Sat Jul 09 15:01:33 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.hp300,v 1.88 2011/01/21 15:59:06 joerg Exp $
+#      $NetBSD: Makefile.hp300,v 1.89 2011/07/09 15:01:33 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -70,6 +70,10 @@
 ## (7) misc settings
 ##
 
+.if defined(HAVE_GCC) && ${HAVE_GCC} == 45
+CWARNFLAGS.diofb.c+=    -Wno-cast-qual
+.endif
+
 ##
 ## (8) config(8) generated machinery
 ##



Home | Main Index | Thread Index | Old Index