changeset 28860:ba6e10c316d3 stable

NEWS: Announce deprecation of LFLAGS (bug #59173).
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 07 Oct 2020 09:35:26 +0200
parents dece83bfab89
children 1807a5762cba c153b1446e36
files NEWS src/mkoctfile.in.cc
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Thu Oct 01 19:07:18 2020 +0200
+++ b/NEWS	Wed Oct 07 09:35:26 2020 +0200
@@ -268,6 +268,10 @@
   -----------------|---------------|------------
                    |               |
 
+- The environment variable used by `mkoctfile` for linker flags is now
+  `LDFLAGS` rather than `LFLAGS`.  `LFLAGS` is deprecated, and a warning
+  is emitted if it is used, but it will continue to work.
+
 
 ### Removed functions and properties
 
--- a/src/mkoctfile.in.cc	Thu Oct 01 19:07:18 2020 +0200
+++ b/src/mkoctfile.in.cc	Wed Oct 07 09:35:26 2020 +0200
@@ -316,7 +316,7 @@
   vars["LD_STATIC_FLAG"] = get_variable ("LD_STATIC_FLAG",
                                          %OCTAVE_CONF_LD_STATIC_FLAG%);
 
-  // FIXME: Remove LFLAGS in Octave 7.0
+  // FIXME: Remove LFLAGS in Octave 8.0
   vars["LFLAGS"] = get_variable ("LFLAGS", DEFAULT_LDFLAGS);
   if (vars["LFLAGS"] != DEFAULT_LDFLAGS)
     std::cerr << "warning: LFLAGS is deprecated and will be removed in a future version of Octave, use LDFLAGS instead" << std::endl;