Module Name: src
Committed By: joerg
Date: Mon Feb 12 22:18:36 UTC 2018
Modified Files:
src/sys/modules/pf: Makefile
Log Message:
Simplify and make the GCC check more precise at the same time.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/modules/pf/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/modules/pf/Makefile
diff -u src/sys/modules/pf/Makefile:1.7 src/sys/modules/pf/Makefile:1.8
--- src/sys/modules/pf/Makefile:1.7 Mon Feb 12 20:47:09 2018
+++ src/sys/modules/pf/Makefile Mon Feb 12 22:18:36 2018
@@ -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 @@ SRCS+= tcp_rndiss.c
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