Module Name: src
Committed By: adam
Date: Mon Feb 12 20:47:09 UTC 2018
Modified Files:
src/sys/modules/pf: Makefile
Log Message:
Fix building with MKGCC=no
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.6 src/sys/modules/pf/Makefile:1.7
--- src/sys/modules/pf/Makefile:1.6 Tue Feb 6 12:58:17 2018
+++ src/sys/modules/pf/Makefile Mon Feb 12 20:47:09 2018
@@ -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