You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, for numpy.distutils an environment variable with empty value is not the same thing as unset environment variable. Instead, the value of the environment variable fully overrides the default value.
In this case, setting empty FFLAGS removes -fPIC from numpy.distutils fortran compilation.
Moreover, numpy.distutils does not use the contents of FFLAGS in constructing the linker command line, so adding -Wl,-strip-all to FFLAGS has no effect --- numpy.distutils appears to only look at the contents of the LDFLAGS variable, cf MacPython/scipy-wheels#31
The text was updated successfully, but these errors were encountered:
The following part in multibuild sets the FFLAGS etc. environment variables:
https://github.com/matthew-brett/multibuild/blob/devel/configure_build.sh#L32-L34
However, for numpy.distutils an environment variable with empty value is not the same thing as unset environment variable. Instead, the value of the environment variable fully overrides the default value.
In this case, setting empty FFLAGS removes
-fPIC
from numpy.distutils fortran compilation.Moreover, numpy.distutils does not use the contents of FFLAGS in constructing the linker command line, so adding
-Wl,-strip-all
to FFLAGS has no effect --- numpy.distutils appears to only look at the contents of the LDFLAGS variable, cf MacPython/scipy-wheels#31The text was updated successfully, but these errors were encountered: