Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcrypt libcrypt: Make Werror-disables for external Arg...
details: https://anonhg.NetBSD.org/src/rev/f92c258f9174
branches: trunk
changeset: 990415:f92c258f9174
user: nia <nia%NetBSD.org@localhost>
date: Tue Oct 26 20:37:18 2021 +0000
description:
libcrypt: Make Werror-disables for external Argon2 library per-file.
Requested by rin.
diffstat:
lib/libcrypt/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 45512c7c533e -r f92c258f9174 lib/libcrypt/Makefile
--- a/lib/libcrypt/Makefile Tue Oct 26 20:17:42 2021 +0000
+++ b/lib/libcrypt/Makefile Tue Oct 26 20:37:18 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2021/10/26 07:51:23 nia Exp $
+# $NetBSD: Makefile,v 1.31 2021/10/26 20:37:18 nia Exp $
.include <bsd.own.mk>
@@ -24,10 +24,10 @@
# libargon2 sources
. for src in argon2.c core.c blake2b.c encoding.c ref.c
SRCS+= ${src}
-COPTS.${src}+= -Wno-error=cast-qual
-COPTS.${src}+= -Wno-error=type-limits
COPTS.${src}+= -fvisibility=hidden
. endfor
+COPTS.argon2.c+= -Wno-error=cast-qual
+COPTS.core.c+= -Wno-error=type-limits
. if ${MACHINE} == "vax"
COPTS.blake2b.c+= -O0
. endif
Home |
Main Index |
Thread Index |
Old Index