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 ) ```
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( modules= [Extension( "test", sources= ["testmodule. c"], compile_ args=extra_ flags
name="test",
ext_
extra_
)],
zip_safe=False
)
```