jsoncons: fixed -W option to fix build (#486840)
This commit is contained in:
@@ -18,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-std=c++20 -Wno-error";
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=tautological-overlap-compare";
|
||||
|
||||
meta = {
|
||||
description = "C++, header-only library for constructing JSON and JSON-like data formats";
|
||||
|
||||
Reference in New Issue
Block a user