diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2019-07-03 16:58:46 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2019-07-03 15:42:44 +0000 |
commit | 27b78ea67f82fca051666599603273c12ecb403b (patch) | |
tree | f3cce23d7b899b22313243bf9844bdd14565b4c0 | |
parent | 954664d8d8600294678ca0df6620d213c6d46fd8 (diff) |
baremetal: Fix typo in option to enable C++ language for IAR
We need to use the '--c++' option instead of '--ec++'
to dump the macroses and headers for the C++ language.
Change-Id: I545e661babc1ffa84ef189d28b2dd59be3cef29e
Reviewed-by: Qbs CI Bot <travis-bot@weickelt.de>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | share/qbs/modules/cpp/iar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qbs/modules/cpp/iar.js b/share/qbs/modules/cpp/iar.js index 646826e8a..3098c88f6 100644 --- a/share/qbs/modules/cpp/iar.js +++ b/share/qbs/modules/cpp/iar.js @@ -64,7 +64,7 @@ function dumpMacros(compilerFilePath, tag) { var args = [ inFilePath, "--predef_macros", outFilePath ]; if (tag && tag === "cpp") - args.push("--ec++"); + args.push("--c++"); var p = new Process(); p.exec(compilerFilePath, args, true); @@ -84,7 +84,7 @@ function dumpDefaultPaths(compilerFilePath, tag) { var args = [ inFilePath, "--preinclude", "." ]; if (tag === "cpp") - args.push("--ec++"); + args.push("--c++"); var p = new Process(); // This process should return an error, don't throw |