问题
I want to set environment variables for my gcc compiler. Specifically, i want to set one of these two flags:
-fPIC Generate position-independent code if possible (large mode)
-fPIE Generate position-independent code for executables if possible (large mode)
what environment variables do i have to set before code compilation to have these flags enabled?
Basically, what i want is my setup.py file that i run build on, to use one of these flags when it is compiled.
来源:https://stackoverflow.com/questions/39122043/set-environment-variables-for-gcc-compiler