cf. https://stackoverflow.com/questions/55801777/set-compile-flags-when-installing-python-c-project
On Fri, May 3, 2019 at 10:29 AM Drew Parsons <dpars...@debian.org> wrote: > > On 2019-05-03 16:24, Nico Schlömer wrote: > >> Do you know how to control it? > > > > I'd been looking at this once, to no avail. Locally I just use > > CC=clang++ now. > > > > It's very odd that they make it difficult to deal with. > > The offending definition looks like OPT in > /usr/lib/python3.7/config-3.7m-x86_64-linux-gnu/Makefile > > But despite the "helpful" advices on stackoverflow, > OPT="" /usr/bin/python3 setup.py build > fails to override it. > > Drew >