Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules/pf Fix building with MKGCC=no
details: https://anonhg.NetBSD.org/src/rev/bc2a2f853ba6
branches: trunk
changeset: 359488:bc2a2f853ba6
user: adam <adam%NetBSD.org@localhost>
date: Mon Feb 12 20:47:09 2018 +0000
description:
Fix building with MKGCC=no
diffstat:
sys/modules/pf/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 2c8be235bb13 -r bc2a2f853ba6 sys/modules/pf/Makefile
--- a/sys/modules/pf/Makefile Mon Feb 12 20:43:17 2018 +0000
+++ b/sys/modules/pf/Makefile Mon Feb 12 20:47:09 2018 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index