diff options
Diffstat (limited to 'src/usr.bin')
-rw-r--r-- | src/usr.bin/openssl/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/usr.bin/openssl/Makefile b/src/usr.bin/openssl/Makefile index 5ba283c174..c862418768 100644 --- a/src/usr.bin/openssl/Makefile +++ b/src/usr.bin/openssl/Makefile | |||
@@ -1,11 +1,13 @@ | |||
1 | # $OpenBSD: Makefile,v 1.7 2016/09/04 18:05:34 beck Exp $ | 1 | # $OpenBSD: Makefile,v 1.8 2017/05/07 04:18:47 jsg Exp $ |
2 | |||
3 | .include <bsd.own.mk> | ||
2 | 4 | ||
3 | PROG= openssl | 5 | PROG= openssl |
4 | LDADD= -lssl -lcrypto | 6 | LDADD= -lssl -lcrypto |
5 | DPADD= ${LIBSSL} ${LIBCRYPTO} | 7 | DPADD= ${LIBSSL} ${LIBCRYPTO} |
6 | MAN1= openssl.1 | 8 | MAN1= openssl.1 |
7 | 9 | ||
8 | CFLAGS+= -Wall -Werror | 10 | CFLAGS+= -Wall |
9 | CFLAGS+= -Wformat | 11 | CFLAGS+= -Wformat |
10 | CFLAGS+= -Wformat-security | 12 | CFLAGS+= -Wformat-security |
11 | CFLAGS+= -Wimplicit | 13 | CFLAGS+= -Wimplicit |
@@ -14,7 +16,9 @@ CFLAGS+= -Wreturn-type | |||
14 | CFLAGS+= -Wtrigraphs | 16 | CFLAGS+= -Wtrigraphs |
15 | CFLAGS+= -Wuninitialized | 17 | CFLAGS+= -Wuninitialized |
16 | CFLAGS+= -Wunused | 18 | CFLAGS+= -Wunused |
17 | 19 | .if ${COMPILER_VERSION:L} == "gcc4" | |
20 | CFLAGS+= -Werror | ||
21 | .endif | ||
18 | CFLAGS+= -DLIBRESSL_INTERNAL | 22 | CFLAGS+= -DLIBRESSL_INTERNAL |
19 | 23 | ||
20 | SRCS= apps.c apps_posix.c asn1pars.c ca.c certhash.c ciphers.c crl.c \ | 24 | SRCS= apps.c apps_posix.c asn1pars.c ca.c certhash.c ciphers.c crl.c \ |