summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-01-23 21:21:23 +0000
committermiod <miod@openbsd.org>2015-01-23 21:21:23 +0000
commit88030d82fa9b4b0d6cfa886cfe9a7fb258a0cb26 (patch)
tree85a11aec2cfe314d6c7de3fb59b8d888a2937761
parentWhile ignoring the .ta (set tab stops) and .ti (temp indent) requests (diff)
downloadwireguard-openbsd-88030d82fa9b4b0d6cfa886cfe9a7fb258a0cb26.tar.xz
wireguard-openbsd-88030d82fa9b4b0d6cfa886cfe9a7fb258a0cb26.zip
-Wpointer-sign is supported by gcc 4 only.
-rw-r--r--regress/usr.bin/ssh/unittests/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/unittests/Makefile.inc b/regress/usr.bin/ssh/unittests/Makefile.inc
index 2f431344600..c022b044625 100644
--- a/regress/usr.bin/ssh/unittests/Makefile.inc
+++ b/regress/usr.bin/ssh/unittests/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.2 2014/06/24 01:14:18 djm Exp $
+# $OpenBSD: Makefile.inc,v 1.3 2015/01/23 21:21:23 miod Exp $
.include <bsd.own.mk>
.include <bsd.obj.mk>
@@ -29,7 +29,6 @@ CDIAGFLAGS+= -Wmissing-declarations
CDIAGFLAGS+= -Wmissing-prototypes
CDIAGFLAGS+= -Wparentheses
CDIAGFLAGS+= -Wpointer-arith
-CDIAGFLAGS+= -Wpointer-sign
CDIAGFLAGS+= -Wreturn-type
CDIAGFLAGS+= -Wshadow
CDIAGFLAGS+= -Wsign-compare
@@ -40,6 +39,7 @@ CDIAGFLAGS+= -Wtrigraphs
CDIAGFLAGS+= -Wuninitialized
CDIAGFLAGS+= -Wunused
.if ${COMPILER_VERSION} == "gcc4"
+CDIAGFLAGS+= -Wpointer-sign
CDIAGFLAGS+= -Wold-style-definition
.endif