summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 9496595a26..ef74ce7736 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"]