summaryrefslogtreecommitdiff
path: root/scons/SConstruct.common
diff options
context:
space:
mode:
Diffstat (limited to 'scons/SConstruct.common')
-rw-r--r--scons/SConstruct.common1
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/SConstruct.common b/scons/SConstruct.common
index 3f9d9ca..7f6db15 100644
--- a/scons/SConstruct.common
+++ b/scons/SConstruct.common
@@ -193,6 +193,7 @@ class SConstructHelper:
env.Append(CCFLAGS=['-fno-exceptions',
'-Wall',
'-Werror',
+ '-Wshadow',
])
if optimized:
env.Append(CCFLAGS=['-O2'], CPPDEFINES=['NDEBUG', '_NDEBUG'])