Mercurial > octave-nkf
comparison src/mkoctfile.in.cc @ 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 | 19755f4fc851 |
children |
comparison
equal
deleted
inserted
replaced
20538:0829b6ff3ac9 | 20542:0fdba3fdf40e |
---|---|
783 } | 783 } |
784 } | 784 } |
785 else | 785 else |
786 { | 786 { |
787 std::string cmd = vars["DL_LD"] + " " | 787 std::string cmd = vars["DL_LD"] + " " |
788 + vars["ALL_CXXFLAGS"] + " " | |
788 + vars["DL_LDFLAGS"] + " " | 789 + vars["DL_LDFLAGS"] + " " |
789 + pass_on_options | 790 + pass_on_options |
790 + " -o " + octfile + " " | 791 + " -o " + octfile + " " |
791 + objfiles + " " + libfiles + " " | 792 + objfiles + " " + libfiles + " " |
792 + ldflags + " " | 793 + ldflags + " " |