mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
mbedtls: disable trivialautovarinit
hardening flag on clang (#398162)
This commit is contained in:
commit
8e506c2e49
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
strictDeps = true;
|
||||
|
||||
# trivialautovarinit on clang causes test failures
|
||||
hardeningDisable = lib.optional stdenv.cc.isClang "trivialautovarinit";
|
||||
|
||||
postConfigure = lib.optionalString enableThreading ''
|
||||
perl scripts/config.pl set MBEDTLS_THREADING_C # Threading abstraction layer
|
||||
perl scripts/config.pl set MBEDTLS_THREADING_PTHREAD # POSIX thread wrapper layer for the threading layer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue