Bug#928140: overriding default compile flags when building python extensions

Drew Parsons dparsons at debian.org
Fri May 3 15:32:37 BST 2019


Ansgar wrote:
> On Fri, 2019-05-03 at 19:49 +0800, Drew Parsons wrote:
> > The first -g is the problem (in "-DNDEBUG -g -fwrapv -O2 -Wall").
> 
> Not sure about setup.py, but `-g0` (after `-g`) should also disable
> debug information:
> 
> +---
> | Level 0 produces no debug information at all.  Thus, -g0 negates -g.
> +---


Thanks Ansgar. Weird (dangerous, even) if the flags can't be controlled 
directly.
But I can try the -g0 trick and see if it solves the problem.

Drew



More information about the debian-science-maintainers mailing list