diff --git a/recipes/imgui-node-editor/recipe.py b/recipes/imgui-node-editor/recipe.py index f5c99a3..27a2a36 100644 --- a/recipes/imgui-node-editor/recipe.py +++ b/recipes/imgui-node-editor/recipe.py @@ -16,6 +16,8 @@ def _git_cook(env: Environment, repo: dict) -> dict: ccflags = list(env['CCFLAGS']) if env['COMPILER_FAMILY'] == 'cl': ccflags.append('/wd4100') + elif env['COMPILER_FAMILY'] == 'gcc': + ccflags.extend(('-Wno-comment', '-Wno-unused-but-set-variable', '-Wno-unused-parameter')) lib_ine = env.StaticLibrary( CPPPATH = [repo['checkout_root']], CCFLAGS = ccflags,