diff options
author | doug <> | 2017-08-13 19:42:33 +0000 |
---|---|---|
committer | doug <> | 2017-08-13 19:42:33 +0000 |
commit | e0d9b6877814aabc7aa1b8a33ad302bf782d8ce3 (patch) | |
tree | 575f2d1cfe5ad2a346588e8230ac59c1772c17c8 /src/lib/libc | |
parent | 2818430742a240ddee6b2f35828ee883f6965ff8 (diff) | |
download | openbsd-e0d9b6877814aabc7aa1b8a33ad302bf782d8ce3.tar.gz openbsd-e0d9b6877814aabc7aa1b8a33ad302bf782d8ce3.tar.bz2 openbsd-e0d9b6877814aabc7aa1b8a33ad302bf782d8ce3.zip |
Switch to -Werror with clang for libressl.
Discussed with beck@ and jsing@
ok beck@
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index cb714c563a..77c0b06ffc 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.20 2017/07/10 21:30:37 espie Exp $ | 1 | # $OpenBSD: Makefile,v 1.21 2017/08/13 19:42:33 doug Exp $ |
2 | 2 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
@@ -15,7 +15,7 @@ CLEANFILES=${PC_FILES} ${VERSION_SCRIPT} | |||
15 | LCRYPTO_SRC= ${.CURDIR} | 15 | LCRYPTO_SRC= ${.CURDIR} |
16 | 16 | ||
17 | CFLAGS+= -Wall -Wundef | 17 | CFLAGS+= -Wall -Wundef |
18 | .if ${COMPILER_VERSION:L} == "gcc4" | 18 | .if ${COMPILER_VERSION:L} == "clang" |
19 | CFLAGS+= -Werror | 19 | CFLAGS+= -Werror |
20 | .endif | 20 | .endif |
21 | CFLAGS+= -DLIBRESSL_INTERNAL | 21 | CFLAGS+= -DLIBRESSL_INTERNAL |