From: Sebastian Andrzej Siewior Date: Sun, 5 Jul 2020 18:52:39 +0000 (+0200) Subject: Configurations: PowerPC is big endian X-Git-Tag: openssl-3.0.0-alpha10~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52c6c12c1cad6f1046b34f4139d1aa3e967a5530;p=thirdparty%2Fopenssl.git Configurations: PowerPC is big endian Define B_ENDIAN on PowerPC because it is a big endian architecture. With this change the BN* related tests pass. Fixes: #12199 Signed-off-by: Sebastian Andrzej Siewior Reviewed-by: Richard Levitte Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/12371) --- diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index d7580bf3e10..5f672fbb77f 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -706,6 +706,7 @@ my %targets = ( inherit_from => [ "linux-generic32" ], asm_arch => 'ppc32', perlasm_scheme => "linux32", + lib_cppflags => add("-DB_ENDIAN"), }, "linux-ppc64" => { inherit_from => [ "linux-generic64" ],