From e0d9b6877814aabc7aa1b8a33ad302bf782d8ce3 Mon Sep 17 00:00:00 2001 From: doug <> Date: Sun, 13 Aug 2017 19:42:33 +0000 Subject: Switch to -Werror with clang for libressl. Discussed with beck@ and jsing@ ok beck@ --- src/usr.bin/openssl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.bin') 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 @@ -# $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 @@ -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 -- cgit v1.2.3-55-g6feb