Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcrypt libcrypt: work around compiler bugs to get MKAR...



details:   https://anonhg.NetBSD.org/src/rev/6de74bbd6bdd
branches:  trunk
changeset: 989479:6de74bbd6bdd
user:      nia <nia%NetBSD.org@localhost>
date:      Wed Oct 13 14:28:32 2021 +0000

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

diffstat:

 lib/libcrypt/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r e5232c0e2f0f -r 6de74bbd6bdd lib/libcrypt/Makefile
--- a/lib/libcrypt/Makefile     Wed Oct 13 08:29:26 2021 +0000
+++ b/lib/libcrypt/Makefile     Wed Oct 13 14:28:32 2021 +0000
@@ -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 @@
 .  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



Home | Main Index | Thread Index | Old Index