-# $OpenBSD: Makefile,v 1.1 2016/03/04 02:30:37 djm Exp $
+# $OpenBSD: Makefile,v 1.2 2017/04/17 11:02:31 jsg Exp $
.include <bsd.own.mk>
.include <bsd.obj.mk>
CDIAGFLAGS+= -Wtrigraphs
CDIAGFLAGS+= -Wuninitialized
CDIAGFLAGS+= -Wunused
-.if ${COMPILER_VERSION} == "gcc4"
+.if ${COMPILER_VERSION:L} != "gcc3"
CDIAGFLAGS+= -Wpointer-sign
CDIAGFLAGS+= -Wold-style-definition
.endif
-# $OpenBSD: Makefile.inc,v 1.9 2016/11/01 13:43:27 tb Exp $
+# $OpenBSD: Makefile.inc,v 1.10 2017/04/17 11:02:31 jsg Exp $
REGRESS_FAIL_EARLY?= yes
CDIAGFLAGS+= -Wtrigraphs
CDIAGFLAGS+= -Wuninitialized
CDIAGFLAGS+= -Wunused
-.if ${COMPILER_VERSION} == "gcc4"
+.if ${COMPILER_VERSION:L} != "gcc3"
CDIAGFLAGS+= -Wpointer-sign
CDIAGFLAGS+= -Wold-style-definition
.endif
-# $OpenBSD: Makefile.inc,v 1.50 2015/07/01 23:10:47 djm Exp $
+# $OpenBSD: Makefile.inc,v 1.51 2017/04/17 11:02:31 jsg Exp $
.include <bsd.own.mk>
CDIAGFLAGS+= -Wtrigraphs
CDIAGFLAGS+= -Wuninitialized
CDIAGFLAGS+= -Wunused
-.if ${COMPILER_VERSION} == "gcc4"
+.if ${COMPILER_VERSION:L} != "gcc3"
CDIAGFLAGS+= -Wold-style-definition
.endif
CDIAGFLAGS+= -Wno-unused-parameter # Not clean for this yet