From 52c6c12c1cad6f1046b34f4139d1aa3e967a5530 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Sun, 5 Jul 2020 20:52:39 +0200 Subject: [PATCH] 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) --- Configurations/10-main.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index d7580bf3e1..5f672fbb77 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" ],