Hal Murray hmurray at megapathdsl.net
Tue Dec 5 03:38:00 UTC 2017

> I can confirm that debug is being set.

This is pretty weird.  I wonder where it is being set, and why it isn't also 
set in the other modules.

> I don not see anything in there to turn on DEBUG.
> Is there a verbose option for waf to show the gcc commands it is running?

waf -v is verbose mode.  You can either hack the script or run the equivalent 
by hand.  I'd probably do it by hand:

  ./waf configure --out=foo
  grep DEBUG foo/config.h
  ./waf build -v | tee foo.log

My config.h has:

I see lots of "-DNDEBUG in foo.log.  I haven't figured out where that is coming from, but that's a different quirk.

These are my opinions.  I hate spam.

More information about the devel mailing list