diff options
author | Fabián Heredia Montiel <fabianhjr@protonmail.com> | 2022-04-16 00:09:33 -0500 |
---|---|---|
committer | Fabián Heredia Montiel <fabianhjr@protonmail.com> | 2022-04-16 11:11:46 -0500 |
commit | 3795a2f70718f775048904fac400e569f07c8441 (patch) | |
tree | a62c7dbf7fcedfb20bc0c6364ac102fa356bb5ec /pkgs | |
parent | 5275050ab037eef4dc8e358c7907c931f78c5d85 (diff) |
flatcc: add two `-Wno-error` for compilation on gcc11 and later
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/flatcc/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/flatcc/default.nix b/pkgs/development/libraries/flatcc/default.nix index 6b40814119c66..488cb6846d08d 100644 --- a/pkgs/development/libraries/flatcc/default.nix +++ b/pkgs/development/libraries/flatcc/default.nix @@ -21,6 +21,11 @@ stdenv.mkDerivation rec { "-DCMAKE_BUILD_TYPE=Release" ]; + NIX_CFLAGS_COMPILE = [ + "-Wno-error=misleading-indentation" + "-Wno-error=stringop-overflow" + ]; + meta = { description = "FlatBuffers Compiler and Library in C for C "; homepage = "https://github.com/dvidelabs/flatcc"; |