Source-Changes-HG archive

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

[src/trunk]: src/sys/modules/pf Simplify and make the GCC check more precise ...



details:   https://anonhg.NetBSD.org/src/rev/e8cde5ce0b01
branches:  trunk
changeset: 359490:e8cde5ce0b01
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Feb 12 22:18:36 2018 +0000

description:
Simplify and make the GCC check more precise at the same time.

diffstat:

 sys/modules/pf/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9f257a4301f7 -r e8cde5ce0b01 sys/modules/pf/Makefile
--- a/sys/modules/pf/Makefile   Mon Feb 12 21:38:09 2018 +0000
+++ b/sys/modules/pf/Makefile   Mon Feb 12 22:18:36 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2018/02/12 20:47:09 adam Exp $
+# $NetBSD: Makefile,v 1.8 2018/02/12 22:18:36 joerg Exp $
 
 .include "../Makefile.inc"
 
@@ -20,7 +20,7 @@
 
 CPPFLAGS+=     -I${S}/dist/pf -I${S} -DINET6 -DINET
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} != 5
+.if ${HAVE_GCC:U0} == "6"
 COPTS.pf_table.c+=     -Wno-error=shift-negative-value
 .endif
 



Home | Main Index | Thread Index | Old Index