Module Name:    src
Committed By:   joerg
Date:           Sat Feb 27 18:55:16 UTC 2016

Modified Files:
        src/share/mk: bsd.sys.mk

Log Message:
Avoid syntax errors if HAVE_GCC is not defined.


To generate a diff of this commit:
cvs rdiff -u -r1.252 -r1.253 src/share/mk/bsd.sys.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.sys.mk
diff -u src/share/mk/bsd.sys.mk:1.252 src/share/mk/bsd.sys.mk:1.253
--- src/share/mk/bsd.sys.mk:1.252	Sat Feb 20 16:36:08 2016
+++ src/share/mk/bsd.sys.mk	Sat Feb 27 18:55:15 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.sys.mk,v 1.252 2016/02/20 16:36:08 christos Exp $
+#	$NetBSD: bsd.sys.mk,v 1.253 2016/02/27 18:55:15 joerg Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -85,7 +85,7 @@ CXXFLAGS+=	${${ACTIVE_CXX} == "gcc":? -W
 .if ${WARNS} > 4
 CFLAGS+=	-Wold-style-definition
 .endif
-.if ${WARNS} > 5 && !(defined(HAVE_GCC) && ${HAVE_GCC} <= 45)
+.if ${WARNS} > 5 && !(defined(HAVE_GCC) && ${HAVE_GCC:U0} <= 45)
 CFLAGS+=	-Wconversion
 .endif
 CFLAGS+=	-Wsign-compare -Wformat=2

Reply via email to