mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 05:44:13 +00:00
pkgsMusl.nginx: fix build
Fixes: > error: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Werror=cpp]
This commit is contained in:
parent
f98fa31fd3
commit
27a9dd9264
@ -130,6 +130,9 @@ stdenv.mkDerivation {
|
||||
"-Wno-error=deprecated-declarations"
|
||||
"-Wno-error=gnu-folding-constant"
|
||||
"-Wno-error=unused-but-set-variable"
|
||||
] ++ lib.optionals stdenv.hostPlatform.isMusl [
|
||||
# fix sys/cdefs.h is deprecated
|
||||
"-Wno-error=cpp"
|
||||
]);
|
||||
|
||||
configurePlatforms = [];
|
||||
|
Loading…
Reference in New Issue
Block a user