Merge pull request #119923 from samuela/samuela/mbedtls
mbedtls: fix x86_64-darwin build
This commit is contained in:
commit
abf404caaa
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
cmakeFlags = [ "-DUSE_SHARED_MBEDTLS_LIBRARY=on" ];
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [
|
||||
"-Wno-error=format"
|
||||
"-Wno-error=format-truncation"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue