summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormiod <>2014-05-18 11:20:08 +0000
committermiod <>2014-05-18 11:20:08 +0000
commit05c55ad5106a239e704f8766f942bc882bfeb6ae (patch)
tree589cf1416923684fff52652982e321d2385b31e8 /src
parentc104beb5db8eff5ec30d2601f4f3ee11d29d64cf (diff)
downloadopenbsd-05c55ad5106a239e704f8766f942bc882bfeb6ae.tar.gz
openbsd-05c55ad5106a239e704f8766f942bc882bfeb6ae.tar.bz2
openbsd-05c55ad5106a239e704f8766f942bc882bfeb6ae.zip
Omit -Werror if building with gcc3, for it triggers "redefinition of `pqueue'"
warnings now that pqueue.h has been removed from public scope.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/ssl/Makefile8
1 files changed, 6 insertions, 2 deletions
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 @@
1# $OpenBSD: Makefile,v 1.43 2014/05/15 19:39:46 miod Exp $ 1# $OpenBSD: Makefile,v 1.44 2014/05/18 11:20:08 miod Exp $
2 2
3LIB= ssl 3LIB= ssl
4 4
5SSL_SRC= ${.CURDIR}/../../libssl/src 5SSL_SRC= ${.CURDIR}/../../libssl/src
6LSSL_SRC= ${SSL_SRC}/ssl 6LSSL_SRC= ${SSL_SRC}/ssl
7 7
8CFLAGS+= -Wall -Werror 8.include <bsd.own.mk>
9CFLAGS+= -Wall
10.if ${COMPILER_VERSION:L} != "gcc3"
11CFLAGS+= -Werror
12.endif
9CFLAGS+= -DTERMIOS -DANSI_SOURCE 13CFLAGS+= -DTERMIOS -DANSI_SOURCE
10CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 14CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5
11CFLAGS+= -I${SSL_SRC} 15CFLAGS+= -I${SSL_SRC}