From 05c55ad5106a239e704f8766f942bc882bfeb6ae Mon Sep 17 00:00:00 2001 From: miod <> Date: Sun, 18 May 2014 11:20:08 +0000 Subject: Omit -Werror if building with gcc3, for it triggers "redefinition of `pqueue'" warnings now that pqueue.h has been removed from public scope. --- src/lib/libssl/ssl/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/libssl/ssl/Makefile b/src/lib/libssl/ssl/Makefile index d282268f0a..10f6a5eff0 100644 --- a/src/lib/libssl/ssl/Makefile +++ b/src/lib/libssl/ssl/Makefile @@ -1,11 +1,15 @@ -# $OpenBSD: Makefile,v 1.43 2014/05/15 19:39:46 miod Exp $ +# $OpenBSD: Makefile,v 1.44 2014/05/18 11:20:08 miod Exp $ LIB= ssl SSL_SRC= ${.CURDIR}/../../libssl/src LSSL_SRC= ${SSL_SRC}/ssl -CFLAGS+= -Wall -Werror +.include +CFLAGS+= -Wall +.if ${COMPILER_VERSION:L} != "gcc3" +CFLAGS+= -Werror +.endif CFLAGS+= -DTERMIOS -DANSI_SOURCE CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 CFLAGS+= -I${SSL_SRC} -- cgit v1.2.3-55-g6feb