From cde37b72cb59adfc12216ed65e5ec3b132080ec2 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/lib/libtls/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libtls') diff --git a/src/lib/libtls/Makefile b/src/lib/libtls/Makefile index 2b09517fbe..9e7b4fc7a6 100644 --- a/src/lib/libtls/Makefile +++ b/src/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 .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 -- cgit v1.2.3-55-g6feb