summaryrefslogtreecommitdiff
path: root/usr.bin/openssl
diff options
context:
space:
mode:
authorDoug Hogan <doug@cvs.openbsd.org>2017-08-13 19:42:34 +0000
committerDoug Hogan <doug@cvs.openbsd.org>2017-08-13 19:42:34 +0000
commit148a2f57ae7a83d2123790e9db32cca6e7a5b194 (patch)
treecdd11aea398ed705a88dd50f1912ad1808706fef /usr.bin/openssl
parentae8e69c654d292be2ed4685745ef55d511839ccf (diff)
Switch to -Werror with clang for libressl.
Discussed with beck@ and jsing@ ok beck@
Diffstat (limited to 'usr.bin/openssl')
-rw-r--r--usr.bin/openssl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/Makefile b/usr.bin/openssl/Makefile
index 11ecd1b96ca..7efc759ceb6 100644
--- a/usr.bin/openssl/Makefile
+++ b/usr.bin/openssl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2017/07/09 21:23:19 espie Exp $
+# $OpenBSD: Makefile,v 1.10 2017/08/13 19:42:33 doug Exp $
.include <bsd.own.mk>
@@ -15,7 +15,7 @@ CFLAGS+= -Wreturn-type
CFLAGS+= -Wtrigraphs
CFLAGS+= -Wuninitialized
CFLAGS+= -Wunused
-.if ${COMPILER_VERSION:L} == "gcc4"
+.if ${COMPILER_VERSION:L} == "clang"
CFLAGS+= -Werror
.endif
CFLAGS+= -DLIBRESSL_INTERNAL