silence warning for gcc4 (yes, the address is not null, no I don't fancy

changing the macro/code/whatever to fix that)
This commit is contained in:
espie 2010-05-22 12:28:39 +00:00
parent 4e50d092d7
commit 68fb5c0991

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2009/08/10 06:33:43 kili Exp $
# $OpenBSD: Makefile,v 1.3 2010/05/22 12:28:39 espie Exp $
COMMENT-main= SSH and telnet client
COMMENT-gui= PuTTY GUI clients
@ -36,3 +36,8 @@ pre-configure:
NO_REGRESS= Yes
.include <bsd.port.mk>
# gcc4 is smarter !
.if ${COMPILER_VERSION:L:Mgcc4*}
CFLAGS += -Wno-error=address
.endif