diff options
author | Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | 2020-07-05 20:52:39 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2020-12-14 09:56:03 +0100 |
commit | 52c6c12c1cad6f1046b34f4139d1aa3e967a5530 (patch) | |
tree | 72657399091089bf13a0d8f233feb7aa6059112b /Configurations/10-main.conf | |
parent | 3dafbd4468b6be4ee5228f1a1ba44c8826eff32d (diff) |
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 <sebastian@breakpoint.cc>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12371)
Diffstat (limited to 'Configurations/10-main.conf')
-rw-r--r-- | Configurations/10-main.conf | 1 |
1 files changed, 1 insertions, 0 deletions
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" ], |