flatcc: add two -Wno-error for compilation on gcc11 and later

This commit is contained in:
Fabián Heredia Montiel 2022-04-16 00:09:33 -05:00
parent 5275050ab0
commit 3795a2f707

View file

@ -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";