diff options
Diffstat (limited to 'share')
-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 |