Merge pull request #265972 from NickCao/wolfssl
wolfssl: fix condition for ASM SP Math support
This commit is contained in:
commit
6c35e00bfa
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"--enable-bigcache"
|
||||
|
||||
# Use WolfSSL's Single Precision Math with timing-resistant cryptography.
|
||||
"--enable-sp=yes${lib.optionalString (!stdenv.isx86_32) ",asm"}"
|
||||
"--enable-sp=yes${lib.optionalString (stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isAarch) ",asm"}"
|
||||
"--enable-sp-math-all"
|
||||
"--enable-harden"
|
||||
] ++ lib.optionals (stdenv.hostPlatform.isx86_64) [
|
||||
|
|
Loading…
Reference in a new issue