diff options
author | miod <> | 2014-05-18 11:20:08 +0000 |
---|---|---|
committer | miod <> | 2014-05-18 11:20:08 +0000 |
commit | 05c55ad5106a239e704f8766f942bc882bfeb6ae (patch) | |
tree | 589cf1416923684fff52652982e321d2385b31e8 | |
parent | c104beb5db8eff5ec30d2601f4f3ee11d29d64cf (diff) | |
download | openbsd-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.
-rw-r--r-- | src/lib/libssl/ssl/Makefile | 8 |
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 | ||
3 | LIB= ssl | 3 | LIB= ssl |
4 | 4 | ||
5 | SSL_SRC= ${.CURDIR}/../../libssl/src | 5 | SSL_SRC= ${.CURDIR}/../../libssl/src |
6 | LSSL_SRC= ${SSL_SRC}/ssl | 6 | LSSL_SRC= ${SSL_SRC}/ssl |
7 | 7 | ||
8 | CFLAGS+= -Wall -Werror | 8 | .include <bsd.own.mk> |
9 | CFLAGS+= -Wall | ||
10 | .if ${COMPILER_VERSION:L} != "gcc3" | ||
11 | CFLAGS+= -Werror | ||
12 | .endif | ||
9 | CFLAGS+= -DTERMIOS -DANSI_SOURCE | 13 | CFLAGS+= -DTERMIOS -DANSI_SOURCE |
10 | CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 | 14 | CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 |
11 | CFLAGS+= -I${SSL_SRC} | 15 | CFLAGS+= -I${SSL_SRC} |