summaryrefslogtreecommitdiff
path: root/regress/misc/kexfuzz/Makefile
diff options
context:
space:
mode:
authorjsg@openbsd.org <jsg@openbsd.org>2017-04-17 11:02:31 +0000
committerDamien Miller <djm@mindrot.org>2017-04-28 13:28:49 +1000
commite0194b471efe7d3daedc9cc66686cb1ab69d3be8 (patch)
tree99f3e45404516905147d45c2deb9be10ed00833e /regress/misc/kexfuzz/Makefile
parent6830be90e71f46bcd182a9202b151eaf2b299434 (diff)
upstream commit
Change COMPILER_VERSION tests which limited additional warnings to gcc4 to instead skip them on gcc3 as clang can handle -Wpointer-sign and -Wold-style-definition. Upstream-Regress-ID: e48d7dc13e48d9334b8195ef884dfbc51316012f
Diffstat (limited to 'regress/misc/kexfuzz/Makefile')
-rw-r--r--regress/misc/kexfuzz/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/misc/kexfuzz/Makefile b/regress/misc/kexfuzz/Makefile
index 3018b632f..d0aca8dfe 100644
--- a/regress/misc/kexfuzz/Makefile
+++ b/regress/misc/kexfuzz/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.1 2016/03/04 02:30:37 djm Exp $ 1# $OpenBSD: Makefile,v 1.2 2017/04/17 11:02:31 jsg Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4.include <bsd.obj.mk> 4.include <bsd.obj.mk>
@@ -49,7 +49,7 @@ CDIAGFLAGS+= -Wswitch
49CDIAGFLAGS+= -Wtrigraphs 49CDIAGFLAGS+= -Wtrigraphs
50CDIAGFLAGS+= -Wuninitialized 50CDIAGFLAGS+= -Wuninitialized
51CDIAGFLAGS+= -Wunused 51CDIAGFLAGS+= -Wunused
52.if ${COMPILER_VERSION} == "gcc4" 52.if ${COMPILER_VERSION:L} != "gcc3"
53CDIAGFLAGS+= -Wpointer-sign 53CDIAGFLAGS+= -Wpointer-sign
54CDIAGFLAGS+= -Wold-style-definition 54CDIAGFLAGS+= -Wold-style-definition
55.endif 55.endif