nginx: fix building with clang on linux (#358999)
This commit is contained in:
commit
7818372094
@ -129,7 +129,7 @@ stdenv.mkDerivation {
|
|||||||
] ++ lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [
|
] ++ lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [
|
||||||
# fix build vts module on gcc11
|
# fix build vts module on gcc11
|
||||||
"-Wno-error=stringop-overread"
|
"-Wno-error=stringop-overread"
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
] ++ lib.optionals stdenv.cc.isClang [
|
||||||
"-Wno-error=deprecated-declarations"
|
"-Wno-error=deprecated-declarations"
|
||||||
"-Wno-error=gnu-folding-constant"
|
"-Wno-error=gnu-folding-constant"
|
||||||
"-Wno-error=unused-but-set-variable"
|
"-Wno-error=unused-but-set-variable"
|
||||||
|
Loading…
Reference in New Issue
Block a user