-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
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#31
Metadata
Metadata
Assignees
Labels
No labels