(cherry picked from commit 611fd8cb72af45f470d20673d4102dcab56e3747)
@@ -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"]