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/705b3b85a6ad
branches:  trunk
changeset: 829789:705b3b85a6ad
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 813ea32bc295 -r 705b3b85a6ad 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