diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2019-08-10 21:45:04 -0700 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2019-08-20 14:56:25 -0700 |
commit | 6c8ba943c5a5557414546a4d49d9c894133acf02 (patch) | |
tree | cf6f4177f0f77b72570c69d7aa4ca10af35a292f /doc | |
parent | 950dd4e15ea0976bb671148440e036c3ae2dc11d (diff) | |
download | numpy-6c8ba943c5a5557414546a4d49d9c894133acf02.tar.gz |
BLD: MAINT: change default behavior of build flag appending.
This is a follow-up to gh-7427. This can lead to hard to understand
build failures, and we've warned that this change was coming for two
releases.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/upcoming_changes/14248.changes.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/14248.changes.rst b/doc/release/upcoming_changes/14248.changes.rst new file mode 100644 index 000000000..5beab0ec0 --- /dev/null +++ b/doc/release/upcoming_changes/14248.changes.rst @@ -0,0 +1,10 @@ +numpy.distutils: append behavior changed for LDFLAGS and similar +---------------------------------------------------------------- +`numpy.distutils` has always overridden rather than appended to `LDFLAGS` and +other similar such environment variables for compiling Fortran extensions. Now +the default behavior changed to appending - which is the expected behavior in +most situations. To preserve the old (overwriting) behavior, set the +`NPY_DISTUTILS_APPEND_FLAGS` environment variable to 0. This applies to: +`LDFLAGS`, `F77FLAGS`, `F90FLAGS`, `FREEFLAGS`, `FOPT`, `FDEBUG`, and `FFLAGS`. +NumPy 1.16 and 1.17 gave build warnings in situations where this change in +behavior would have affected the compile flags used. |