summaryrefslogtreecommitdiff
path: root/src/lib/libssl
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/lib/libssl
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/lib/libssl')
-rw-r--r--src/lib/libssl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile
index 6ae361c00c..66dae58874 100644
--- a/src/lib/libssl/Makefile
+++ b/src/lib/libssl/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.37 2017/07/24 17:10:31 jsing Exp $ 1# $OpenBSD: Makefile,v 1.38 2017/08/13 19:42:33 doug Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4.ifndef NOMAN 4.ifndef NOMAN
@@ -12,7 +12,7 @@ CLEANFILES=${PC_FILES} ${VERSION_SCRIPT}
12LIB= ssl 12LIB= ssl
13 13
14CFLAGS+= -Wall -Wundef 14CFLAGS+= -Wall -Wundef
15.if ${COMPILER_VERSION:L} == "gcc4" 15.if ${COMPILER_VERSION:L} == "clang"
16CFLAGS+= -Werror 16CFLAGS+= -Werror
17.endif 17.endif
18CFLAGS+= -DLIBRESSL_INTERNAL 18CFLAGS+= -DLIBRESSL_INTERNAL