summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto
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/libcrypto
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/libcrypto')
-rw-r--r--lib/libcrypto/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile
index cb714c563a9..77c0b06ffcf 100644
--- a/lib/libcrypto/Makefile
+++ b/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.20 2017/07/10 21:30:37 espie Exp $
+# $OpenBSD: Makefile,v 1.21 2017/08/13 19:42:33 doug Exp $
LIB= crypto
LIBREBUILD=y
@@ -15,7 +15,7 @@ CLEANFILES=${PC_FILES} ${VERSION_SCRIPT}
LCRYPTO_SRC= ${.CURDIR}
CFLAGS+= -Wall -Wundef
-.if ${COMPILER_VERSION:L} == "gcc4"
+.if ${COMPILER_VERSION:L} == "clang"
CFLAGS+= -Werror
.endif
CFLAGS+= -DLIBRESSL_INTERNAL