Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/conf enable -Wno-error=array-bounds for GCC 9 ...
details: https://anonhg.NetBSD.org/src/rev/d50863b61d3b
branches: trunk
changeset: 943619:d50863b61d3b
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Sep 07 02:22:27 2020 +0000
description:
enable -Wno-error=array-bounds for GCC 9 and hppa. machdep.c has a
bunch of warnings that i can't workaround yet.
diffstat:
sys/arch/hppa/conf/Makefile.hppa | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 87e71243b9f2 -r d50863b61d3b sys/arch/hppa/conf/Makefile.hppa
--- a/sys/arch/hppa/conf/Makefile.hppa Mon Sep 07 01:54:26 2020 +0000
+++ b/sys/arch/hppa/conf/Makefile.hppa Mon Sep 07 02:22:27 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.hppa,v 1.6 2018/09/22 12:24:02 rin Exp $
+# $NetBSD: Makefile.hppa,v 1.7 2020/09/07 02:22:27 mrg Exp $
# Makefile for NetBSD
#
@@ -32,6 +32,7 @@
##
CPPFLAGS+= -Dhppa
CFLAGS+= -mpa-risc-1-1 -msoft-float -mdisable-fpregs
+CWARNFLAGS.gcc+=${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-error=array-bounds :}
.include "${HPPA}/spmath/Makefile.inc"
Home |
Main Index |
Thread Index |
Old Index