Merge pull request #268231 from wegank/nginx-darwin
This commit is contained in:
commit
c78465609d
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