Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Avoid syntax errors if HAVE_GCC is not defined.
details: https://anonhg.NetBSD.org/src/rev/52ff7b80a794
branches: trunk
changeset: 343811:52ff7b80a794
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Feb 27 18:55:15 2016 +0000
description:
Avoid syntax errors if HAVE_GCC is not defined.
diffstat:
share/mk/bsd.sys.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 18da35f7d866 -r 52ff7b80a794 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Sat Feb 27 18:53:37 2016 +0000
+++ b/share/mk/bsd.sys.mk Sat Feb 27 18:55:15 2016 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index