From 8cd317b551840fffbf4f746c61b14cf6467319c5 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sun, 12 Jul 2020 23:02:08 -0400 Subject: [PATCH] Disable "misleading indentation" warning on GCC (cherry picked from commit 611fd8cb72af45f470d20673d4102dcab56e3747) --- SConstruct | 1 + 1 file changed, 1 insertion(+) 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"]