mirror of https://github.com/openssl/openssl.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 <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)
This commit is contained in:
parent
3dafbd4468
commit
52c6c12c1c
|
@ -706,6 +706,7 @@ my %targets = (
|
||||||
inherit_from => [ "linux-generic32" ],
|
inherit_from => [ "linux-generic32" ],
|
||||||
asm_arch => 'ppc32',
|
asm_arch => 'ppc32',
|
||||||
perlasm_scheme => "linux32",
|
perlasm_scheme => "linux32",
|
||||||
|
lib_cppflags => add("-DB_ENDIAN"),
|
||||||
},
|
},
|
||||||
"linux-ppc64" => {
|
"linux-ppc64" => {
|
||||||
inherit_from => [ "linux-generic64" ],
|
inherit_from => [ "linux-generic64" ],
|
||||||
|
|
Loading…
Reference in New Issue