Mercurial > octave-nkf
changeset 19745:b59aabc08e63
Pass unrecognized '-' arguments through mkoctfile to compiler (bug #34169).
* mkoctfile.in.cc: After parsing arguments if argument has not been identified
,and begins with '-', then pass it through unmodified.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 13 Feb 2015 20:51:59 -0800 |
parents | ce0a1bd0cd47 |
children | 52cd69e79784 |
files | src/mkoctfile.in.cc |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mkoctfile.in.cc Fri Feb 13 18:06:46 2015 -0500 +++ b/src/mkoctfile.in.cc Fri Feb 13 20:51:59 2015 -0800 @@ -550,6 +550,11 @@ { pass_on_options += (" " + arg); } + else if (starts_with (arg, "-")) + { + // Pass through any unrecognized options + pass_on_options += (" " + arg); + } else { std::cerr << "mkoctfile: unrecognized argument " << arg << std::endl;