s2n-tls: disable unsupported feature (post-quantum cryptography) on mips64 (#161163)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
8b319c06f2
commit
33772708c6
|
@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
|
|||
"-DBUILD_SHARED_LIBS=ON"
|
||||
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
|
||||
"-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF" # disable -Werror
|
||||
] ++ lib.optionals stdenv.hostPlatform.isMips64 [
|
||||
# See https://github.com/aws/s2n-tls/issues/1592 and https://github.com/aws/s2n-tls/pull/1609
|
||||
"-DS2N_NO_PQ=ON"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ openssl ]; # s2n-config has find_dependency(LibCrypto).
|
||||
|
|
Loading…
Reference in a new issue