changeset 20542:0fdba3fdf40e stable

mkoctfile: Apply default C++ compiler flags when linking oct-file (bug #45280) * mkoctfile.in.cc: Include the value of "ALL_CXXFLAGS" in the oct-file link command line.
author Mike Miller <mtmiller@octave.org>
date Tue, 22 Sep 2015 23:12:22 +0200
parents 0829b6ff3ac9
children 63d14a570039
files src/mkoctfile.in.cc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/mkoctfile.in.cc	Wed Sep 02 12:19:48 2015 -0700
+++ b/src/mkoctfile.in.cc	Tue Sep 22 23:12:22 2015 +0200
@@ -785,6 +785,7 @@
       else
         {
           std::string cmd = vars["DL_LD"] + " "
+                            + vars["ALL_CXXFLAGS"] + " "
                             + vars["DL_LDFLAGS"] + " "
                             + pass_on_options
                             + " -o " + octfile + " "