diff --git a/SConstruct b/SConstruct index 9496595a264..ef74ce7736e 100644 --- a/SConstruct +++ b/SConstruct @@ -455,6 +455,7 @@ if selected_platform in platform_list: all_plus_warnings = ["-Wwrite-strings"] if methods.using_gcc(env): + env.Append(CCFLAGS=["-Wno-misleading-indentation"]) if cc_version_major >= 7: shadow_local_warning = ["-Wshadow-local"]