From: Orgad Shaneh Date: Mon, 24 Feb 2020 07:02:31 +0000 (+0200) Subject: Configure: Avoid SIXTY_FOUR_BIT for linux-mips64 X-Git-Tag: openssl-3.0.0-alpha2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=76899264cbff822929f29f3d56c640368461d7f6;p=oweals%2Fopenssl.git Configure: Avoid SIXTY_FOUR_BIT for linux-mips64 This is a 32-bit ABI build (as opposed to linux64-mips64). Setting SIXTY_FOUR_BIT breaks hardware optimizations, at least on octeon processors. Reviewed-by: Richard Levitte Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/11725) --- diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index a462f9e719..7b5da5c469 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -790,7 +790,7 @@ my %targets = ( inherit_from => [ "linux-generic32" ], cflags => add("-mabi=n32"), cxxflags => add("-mabi=n32"), - bn_ops => "SIXTY_FOUR_BIT RC4_CHAR", + bn_ops => "RC4_CHAR", asm_arch => 'mips64', perlasm_scheme => "n32", multilib => "32",