The debug flag, contrary to its documentation, enables a debug build,
increasing the size of the binary and changing its contents. Fix the
documentation to describe what it actually does.
Then add the same flag as waf to just add symbols without changing the
actual binary.