flatcc: add two -Wno-error
for compilation on gcc11 and later
This commit is contained in:
parent
5275050ab0
commit
3795a2f707
|
@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
"-DCMAKE_BUILD_TYPE=Release"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = [
|
||||||
|
"-Wno-error=misleading-indentation"
|
||||||
|
"-Wno-error=stringop-overflow"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "FlatBuffers Compiler and Library in C for C ";
|
description = "FlatBuffers Compiler and Library in C for C ";
|
||||||
homepage = "https://github.com/dvidelabs/flatcc";
|
homepage = "https://github.com/dvidelabs/flatcc";
|
||||||
|
|
Loading…
Reference in a new issue