s2n-tls: disable -Werror

This is causing errors under gcc 11.
This commit is contained in:
Ryan Burns 2021-08-20 21:30:22 -07:00
parent 456481aa3d
commit f5fe71325f

View File

@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF" # disable -Werror
];
propagatedBuildInputs = [ openssl ]; # s2n-config has find_dependency(LibCrypto).