diff options
| author | miod <> | 2014-05-18 11:20:08 +0000 |
|---|---|---|
| committer | miod <> | 2014-05-18 11:20:08 +0000 |
| commit | 4869c44223ad25dc8438902faece1f2e1d066bd3 (patch) | |
| tree | 589cf1416923684fff52652982e321d2385b31e8 | |
| parent | 64982a1131cd9a90bf11dd99d3a0c5731135e64f (diff) | |
| download | openbsd-4869c44223ad25dc8438902faece1f2e1d066bd3.tar.gz openbsd-4869c44223ad25dc8438902faece1f2e1d066bd3.tar.bz2 openbsd-4869c44223ad25dc8438902faece1f2e1d066bd3.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 '')
| -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} |
