diff options
Diffstat (limited to 'waftools/detections/compiler.py')
-rw-r--r-- | waftools/detections/compiler.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/waftools/detections/compiler.py b/waftools/detections/compiler.py index b98218856f..792511af33 100644 --- a/waftools/detections/compiler.py +++ b/waftools/detections/compiler.py @@ -38,6 +38,7 @@ def __add_gcc_flags__(ctx): __test_and_add_flags__(ctx, ["-Wempty-body"]) __test_and_add_flags__(ctx, ["-Wdisabled-optimization"]) __test_and_add_flags__(ctx, ["-Wstrict-prototypes"]) + __test_and_add_flags__(ctx, ["-Wno-format-zero-length"]) def __add_clang_flags__(ctx): ctx.env.CFLAGS += ["-Wno-logical-op-parentheses", "-fcolor-diagnostics", |