diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2020-07-25 23:44:35 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2020-07-27 07:32:08 +0000 |
commit | 01c75b48d8058dd2d88aa6b7d11cd281d1c14258 (patch) | |
tree | b97a91ab7e0baa27f1ec0035d1f202af226ec83a /share/qbs/modules/cpp/iar.js | |
parent | dc0710e1cb7a296a6897a998f65cdfb2bf934d56 (diff) |
baremetal: Pass all current tests for IAR SH
We need to exclude the '--deprecated_feature_warnings' flag for
the IAR SH compiler, because this flag is not supported.
Also we need to set the architecture-specific linker options.
Change-Id: I038fe6972aeed9deb8cc3e76308cb1e393a15b8b
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'share/qbs/modules/cpp/iar.js')
-rw-r--r-- | share/qbs/modules/cpp/iar.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/qbs/modules/cpp/iar.js b/share/qbs/modules/cpp/iar.js index 666d57e9b..9c6ec4178 100644 --- a/share/qbs/modules/cpp/iar.js +++ b/share/qbs/modules/cpp/iar.js @@ -598,7 +598,8 @@ function compilerFlags(project, product, input, outputs, explicitlyDependsOn) { break; case "all": if (architecture !== "78k") { - if (architecture !== "avr32" && architecture !== "r32c") { + if (architecture !== "avr32" && architecture !== "r32c" + && architecture !== "sh") { args.push("--deprecated_feature_warnings=" +"+attribute_syntax," +"+preprocessor_extensions," |