summaryrefslogtreecommitdiffstats
path: root/waftools/detections/compiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'waftools/detections/compiler.py')
-rw-r--r--waftools/detections/compiler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/waftools/detections/compiler.py b/waftools/detections/compiler.py
index 5bbba87fd7..7033cf561f 100644
--- a/waftools/detections/compiler.py
+++ b/waftools/detections/compiler.py
@@ -36,7 +36,8 @@ def __add_generic_flags__(ctx):
"-Wstrict-prototypes",
"-Wno-format-zero-length",
"-Werror=format-security",
- "-Wno-redundant-decls"])
+ "-Wno-redundant-decls",
+ "-Wvla"])
def __add_gcc_flags__(ctx):
ctx.env.CFLAGS += ["-Wall", "-Wundef", "-Wmissing-prototypes", "-Wshadow",