From fbec91b6bde3b10f83cb13d13b94576de081671e Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Wed, 15 Jan 2025 17:53:31 +0200 Subject: [PATCH] wscript: Make 'waf configure --debug' working againg --- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript index cb734aa2..fce75a72 100644 --- a/wscript +++ b/wscript @@ -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')