Skip to content

Commit

Permalink
Merge pull request #485 from jhunkeler/gnu-extensions
Browse files Browse the repository at this point in the history
Use -std=gnu99
  • Loading branch information
pllim committed May 14, 2020
2 parents 810ad66 + 5a7c74b commit d392d8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wscript
Expand Up @@ -352,8 +352,8 @@ def configure(conf):

_determine_sizeof_int(conf)

if conf.check_cc(cflags='-std=c99'):
conf.env.append_value('CFLAGS', '-std=c99')
if conf.check_cc(cflags='-std=gnu99'):
conf.env.append_value('CFLAGS', '-std=gnu99')

# check whether the compiler supports -02 and add it to CFLAGS if it does
if conf.options.debug:
Expand Down

0 comments on commit d392d8c

Please sign in to comment.