From 27b78ea67f82fca051666599603273c12ecb403b Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Wed, 3 Jul 2019 16:58:46 +0300 Subject: 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 Reviewed-by: Christian Kandeler --- share/qbs/modules/cpp/iar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/qbs') 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 -- cgit v1.2.3