diff --git a/SConstruct b/SConstruct index b3d033dc90d..207254713a2 100644 --- a/SConstruct +++ b/SConstruct @@ -402,6 +402,7 @@ if selected_platform in platform_list: all_plus_warnings = ["-Wwrite-strings"] if methods.using_gcc(env): + env.Append(CCFLAGS=["-Wno-misleading-indentation"]) if version[0] >= 7: shadow_local_warning = ["-Wshadow-local"]