Source-Changes-HG archive

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

[src/trunk]: src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips Handle t...



details:   https://anonhg.NetBSD.org/src/rev/1ad1d399b3f8
branches:  trunk
changeset: 982808:1ad1d399b3f8
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 26 20:01:13 2021 +0000

description:
Handle the compat builds and both the n64 and non n64 variants

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips.inc |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 2b361c0cd71d -r 1ad1d399b3f8 crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips.inc      Mon Apr 26 19:59:58 2021 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips.inc      Mon Apr 26 20:01:13 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mips.inc,v 1.1 2021/04/26 18:06:09 christos Exp $
+# $NetBSD: mips.inc,v 1.2 2021/04/26 20:01:13 christos Exp $
 
 .ifndef MIPS_LE
 
@@ -8,10 +8,11 @@
 MIPS_LE=1
 .      endif
 
-.      if empty(MACHINE_ARCH:Mmips*64*)
+.      if (!empty(MACHINE_ARCH:Mmipsn64*) && empty(COPTS:M-mabi=*32*)) || \
+          (!empty(MACHINE_ARCH:Mmips64*) && !empty(COPTS:M-mabi=*64*))
+MIPS_64=64
+.      else
 MIPS_64=
-.      else
-MIPS_64=64
 .      endif
 
 .endif



Home | Main Index | Thread Index | Old Index