nginx: fix build on darwin
This commit is contained in:
parent
5d11cc77b2
commit
add7a091c6
1 changed files with 5 additions and 1 deletions
|
@ -124,7 +124,11 @@ stdenv.mkDerivation {
|
|||
] ++ lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [
|
||||
# fix build vts module on gcc11
|
||||
"-Wno-error=stringop-overread"
|
||||
] ++ lib.optional stdenv.isDarwin "-Wno-error=deprecated-declarations");
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"-Wno-error=deprecated-declarations"
|
||||
"-Wno-error=gnu-folding-constant"
|
||||
"-Wno-error=unused-but-set-variable"
|
||||
]);
|
||||
|
||||
configurePlatforms = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue