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 (Re)Enable -Werror=array-bounds.



details:   https://anonhg.NetBSD.org/src/rev/51d54bb82d9c
branches:  trunk
changeset: 954986:51d54bb82d9c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Sep 14 16:13:18 2020 +0000

description:
(Re)Enable -Werror=array-bounds.

diffstat:

 sys/arch/hppa/conf/Makefile.hppa |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r a7268ee070ad -r 51d54bb82d9c sys/arch/hppa/conf/Makefile.hppa
--- a/sys/arch/hppa/conf/Makefile.hppa  Mon Sep 14 16:12:41 2020 +0000
+++ b/sys/arch/hppa/conf/Makefile.hppa  Mon Sep 14 16:13:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.hppa,v 1.7 2020/09/07 02:22:27 mrg Exp $
+# $NetBSD: Makefile.hppa,v 1.8 2020/09/14 16:13:18 skrll Exp $
 
 # Makefile for NetBSD
 #
@@ -32,7 +32,6 @@
 ##
 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