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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/waftools/detections/compiler.py b/waftools/detections/compiler.py
index f9d711ddb0..fe607faa1c 100644
--- a/waftools/detections/compiler.py
+++ b/waftools/detections/compiler.py
@@ -42,6 +42,7 @@ def __add_mingw_flags__(ctx):
def __add_cygwin_flags__(ctx):
ctx.env.CFLAGS += ['-mwin32']
+ ctx.env.CFLAGS += ['-U__STRICT_ANSI__']
__compiler_map__ = {
'__GNUC__': __add_gcc_flags__,