# HG changeset patch # User Mike Miller # Date 1442956342 -7200 # Node ID 0fdba3fdf40ea1dc28319a4a38d10289ea4aaa2f # Parent 0829b6ff3ac9132d05c9786b534c09b05982a30b 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. diff --git a/src/mkoctfile.in.cc b/src/mkoctfile.in.cc --- a/src/mkoctfile.in.cc +++ b/src/mkoctfile.in.cc @@ -785,6 +785,7 @@ else { std::string cmd = vars["DL_LD"] + " " + + vars["ALL_CXXFLAGS"] + " " + vars["DL_LDFLAGS"] + " " + pass_on_options + " -o " + octfile + " "