summaryrefslogtreecommitdiffstats
path: root/lib/libtls
diff options
context:
space:
mode:
authordoug <doug@openbsd.org>2017-08-13 19:42:33 +0000
committerdoug <doug@openbsd.org>2017-08-13 19:42:33 +0000
commit736f6d0b32ac92f335f3f2f05477e8dc3e89e851 (patch)
tree3a9ad9b30452e4a012c5095bb3ec70036768bc60 /lib/libtls
parentadd fktrace to libc (diff)
downloadwireguard-openbsd-736f6d0b32ac92f335f3f2f05477e8dc3e89e851.tar.xz
wireguard-openbsd-736f6d0b32ac92f335f3f2f05477e8dc3e89e851.zip
Switch to -Werror with clang for libressl.
Discussed with beck@ and jsing@ ok beck@
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtls/Makefile b/lib/libtls/Makefile
index 2b09517fbe2..9e7b4fc7a61 100644
--- a/lib/libtls/Makefile
+++ b/lib/libtls/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.31 2017/04/30 04:44:58 jsing Exp $
+# $OpenBSD: Makefile,v 1.32 2017/08/13 19:42:33 doug Exp $
.include <bsd.own.mk>
.ifndef NOMAN
@@ -6,7 +6,7 @@ SUBDIR= man
.endif
CFLAGS+= -Wall -Wimplicit -Wundef
-.if ${COMPILER_VERSION:L} == "gcc4"
+.if ${COMPILER_VERSION:L} == "clang"
CFLAGS+= -Werror
.endif
CFLAGS+= -DLIBRESSL_INTERNAL