diff options
-rw-r--r-- | lib/libcrypto/Makefile | 4 | ||||
-rw-r--r-- | lib/libssl/Makefile | 4 | ||||
-rw-r--r-- | lib/libtls/Makefile | 4 | ||||
-rw-r--r-- | usr.bin/openssl/Makefile | 4 |
4 files changed, 8 insertions, 8 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 diff --git a/lib/libssl/Makefile b/lib/libssl/Makefile index 6ae361c00c4..66dae58874a 100644 --- a/lib/libssl/Makefile +++ b/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 <bsd.own.mk> .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 diff --git a/lib/libtls/Makefile b/lib/libtls/Makefile index 2b09517fbe2..9e7b4fc7a61 100644 --- a/lib/libtls/Makefile +++ b/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 <bsd.own.mk> .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 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 |