From 2cf0cbbd7672610350975d84be0289ea9a096b6e Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 3 Jan 2024 13:49:07 +0800 Subject: [PATCH] mips64el: openssl: adjust for building on 64-bit MIPS --- chapter08/openssl.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chapter08/openssl.xml b/chapter08/openssl.xml index 446dd226a..974d23b1b 100644 --- a/chapter08/openssl.xml +++ b/chapter08/openssl.xml @@ -49,11 +49,16 @@ sed -e '/bn_reduce.*m1/i\ factor_size /= sizeof(BN_ULONG) * 8;' \ -i crypto/bn/rsaz_exp_x2.c --> + Remove an outdated compiler option causing build failure: + +sed 's/-mips3//' -i Configure + Prepare OpenSSL for compilation: ./config --prefix=/usr \ --openssldir=/etc/ssl \ --libdir=lib \ + linux64-mips64 \ shared \ zlib-dynamic