summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl
diff options
context:
space:
mode:
authordoug <>2017-08-13 19:42:33 +0000
committerdoug <>2017-08-13 19:42:33 +0000
commitcde37b72cb59adfc12216ed65e5ec3b132080ec2 (patch)
tree575f2d1cfe5ad2a346588e8230ac59c1772c17c8 /src/usr.bin/openssl
parent5dcdc958812ab0f9a065863fd2678d86c850feb9 (diff)
downloadopenbsd-cde37b72cb59adfc12216ed65e5ec3b132080ec2.tar.gz
openbsd-cde37b72cb59adfc12216ed65e5ec3b132080ec2.tar.bz2
openbsd-cde37b72cb59adfc12216ed65e5ec3b132080ec2.zip
Switch to -Werror with clang for libressl.
Discussed with beck@ and jsing@ ok beck@
Diffstat (limited to 'src/usr.bin/openssl')
-rw-r--r--src/usr.bin/openssl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/Makefile b/src/usr.bin/openssl/Makefile
index 11ecd1b96c..7efc759ceb 100644
--- a/src/usr.bin/openssl/Makefile
+++ b/src/usr.bin/openssl/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.9 2017/07/09 21:23:19 espie Exp $ 1# $OpenBSD: Makefile,v 1.10 2017/08/13 19:42:33 doug Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4 4
@@ -15,7 +15,7 @@ CFLAGS+= -Wreturn-type
15CFLAGS+= -Wtrigraphs 15CFLAGS+= -Wtrigraphs
16CFLAGS+= -Wuninitialized 16CFLAGS+= -Wuninitialized
17CFLAGS+= -Wunused 17CFLAGS+= -Wunused
18.if ${COMPILER_VERSION:L} == "gcc4" 18.if ${COMPILER_VERSION:L} == "clang"
19CFLAGS+= -Werror 19CFLAGS+= -Werror
20.endif 20.endif
21CFLAGS+= -DLIBRESSL_INTERNAL 21CFLAGS+= -DLIBRESSL_INTERNAL