flatcc: add two -Wno-error
for compilation on gcc11 and later
This commit is contained in:
parent
5275050ab0
commit
3795a2f707
1 changed files with 5 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue