How to pass flag to gcc in Python setup.py script? How to pass flag to gcc in Python setup.py script? python python

How to pass flag to gcc in Python setup.py script?


Maybe you need to set extra_link_args, too? extra_compile_args is used when compiling the source code, extra_link_args when linking the result.