mysql-shell_8: fix build with clang
This commit is contained in:
@@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
env =
|
||||
lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-literal-operator";
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-literal-operator -Wno-error=nonnull";
|
||||
}
|
||||
// lib.optionalAttrs stdenv.cc.isGNU {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds";
|
||||
|
||||
Reference in New Issue
Block a user