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/libssl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libssl') diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile index 6ae361c00c..66dae58874 100644 --- a/src/lib/libssl/Makefile +++ b/src/lib/libssl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.37 2017/07/24 17:10:31 jsing Exp $ +# $OpenBSD: Makefile,v 1.38 2017/08/13 19:42:33 doug Exp $ .include .ifndef NOMAN @@ -12,7 +12,7 @@ CLEANFILES=${PC_FILES} ${VERSION_SCRIPT} LIB= ssl CFLAGS+= -Wall -Wundef -.if ${COMPILER_VERSION:L} == "gcc4" +.if ${COMPILER_VERSION:L} == "clang" CFLAGS+= -Werror .endif CFLAGS+= -DLIBRESSL_INTERNAL -- cgit v1.2.3-55-g6feb