summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authoradam <adam@NetBSD.org>2018-02-12 20:47:09 +0000
committeradam <adam@NetBSD.org>2018-02-12 20:47:09 +0000
commit2ebb006f29afce736898d1aeb6d5c2c406e1edff (patch)
tree03031875936da834d2d424c0f26e02038ce1ef26 /sys/modules
parent780e1714718c7b8c637e63de79f20f540653ae19 (diff)
Fix building with MKGCC=no
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/pf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/pf/Makefile b/sys/modules/pf/Makefile
index 7045ebbe871..333ffb0fa91 100644
--- a/sys/modules/pf/Makefile
+++ b/sys/modules/pf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2018/02/06 12:58:17 martin Exp $
+# $NetBSD: Makefile,v 1.7 2018/02/12 20:47:09 adam Exp $
.include "../Makefile.inc"
@@ -20,7 +20,7 @@ SRCS+= tcp_rndiss.c
CPPFLAGS+= -I${S}/dist/pf -I${S} -DINET6 -DINET
-.if ${HAVE_GCC} != 5
+.if defined(HAVE_GCC) && ${HAVE_GCC} != 5
COPTS.pf_table.c+= -Wno-error=shift-negative-value
.endif