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:58:54 +0100 |
commit | d73c93625f47fe66ea5c77db6757c1c20229ba23 (patch) | |
tree | ba7900363db5074270727bfe73e361d839872d1f /Configurations | |
parent | ad8e83cf11187388c71cfbdb70880d9e7ed26e0e (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)
(cherry picked from commit 52c6c12c1cad6f1046b34f4139d1aa3e967a5530)
Diffstat (limited to 'Configurations')
-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 cea4feb9a0..8dc3e858df 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -663,6 +663,7 @@ my %targets = ( "linux-ppc" => { inherit_from => [ "linux-generic32", asm("ppc32_asm") ], perlasm_scheme => "linux32", + lib_cppflags => add("-DB_ENDIAN"), }, "linux-ppc64" => { inherit_from => [ "linux-generic64", asm("ppc64_asm") ], |