diff --git a/waftools/detections/compiler.py b/waftools/detections/compiler.py index a3ad2835d2..f473680bc6 100644 --- a/waftools/detections/compiler.py +++ b/waftools/detections/compiler.py @@ -15,7 +15,7 @@ def __add_generic_flags__(ctx): ctx.env.CFLAGS += ["-D_ISOC99_SOURCE", "-D_GNU_SOURCE", "-D_LARGEFILE_SOURCE", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE64_SOURCE", - "-std=gnu99", "-Wall"] + "-std=c99", "-Wall"] if ctx.is_debug_build(): ctx.env.CFLAGS += ['-g']