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/64f9515d6b34
branches:  trunk
changeset: 938777:64f9515d6b34
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 6c431974870e -r 64f9515d6b34 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