Skip to content

Commit

Permalink
wscript: Make 'waf configure --debug' working againg
Browse files Browse the repository at this point in the history
  • Loading branch information
nedko committed Jan 15, 2025
1 parent c26a8fc commit fbec91b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ def configure(conf):
flags.add_c('-Werror=implicit-int')
flags.add_c('-Werror=incompatible-pointer-types')
flags.add_c('-Werror=strict-prototypes')

conf.env['BUILD_DEBUG'] = Options.options.debug
if conf.env['BUILD_DEBUG']:
flags.add_c(['-O0', '-g', '-fno-omit-frame-pointer'])
flags.add_link('-g')
Expand Down

0 comments on commit fbec91b

Please sign in to comment.