Comment 22 for bug 2002043

Revision history for this message
Fabio Augusto Miranda Martins (fabio.martins) wrote :

Another suggestion from one of our Engineers is that you can also set it inside your python script, something like this:

```
from setuptools import setup, Extension
import sysconfig

extra_flags=sysconfig.get_config_var('CFLAGS').split()

setup(
    name="test",
    ext_modules=[Extension("test", sources=["testmodule.c"],
 extra_compile_args=extra_flags
)],
    zip_safe=False
)
```