diff options
-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 399a606144..06baa98ac0 100644 --- a/waftools/detections/compiler.py +++ b/waftools/detections/compiler.py @@ -44,6 +44,7 @@ def __add_generic_flags__(ctx): "-Wno-format-truncation", "-Wimplicit-fallthrough", ]) + __test_and_add_flags__(ctx, ["-fno-math-errno"]) def __add_gcc_flags__(ctx): ctx.env.CFLAGS += ["-Wall", "-Wundef", "-Wmissing-prototypes", "-Wshadow", |