Module Name:    src
Committed By:   nia
Date:           Wed Oct 13 14:28:32 UTC 2021

Modified Files:
        src/lib/libcrypt: Makefile

Log Message:
libcrypt: work around compiler bugs to get MKARGON2 working on vax


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libcrypt/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libcrypt/Makefile
diff -u src/lib/libcrypt/Makefile:1.28 src/lib/libcrypt/Makefile:1.29
--- src/lib/libcrypt/Makefile:1.28	Tue Oct 12 17:24:36 2021
+++ src/lib/libcrypt/Makefile	Wed Oct 13 14:28:32 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.28 2021/10/12 17:24:36 nia Exp $
+#	$NetBSD: Makefile,v 1.29 2021/10/13 14:28:32 nia Exp $
 
 .include <bsd.own.mk>
 
@@ -25,7 +25,11 @@ SRCS+=		crypt-argon2.c
 .  for src in argon2.c core.c blake2b.c encoding.c ref.c
 SRCS+=		${src}
 COPTS.${src}+=	-Wno-error
+COPTS.${src}+=	-fvisibility=hidden
 .  endfor
+.  if ${MACHINE} == "vax"
+COPTS.blake2b.c+=	-O0
+.  endif
 .endif
 
 WARNS?=	5

Reply via email to