aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2020-07-15 20:54:57 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2020-07-16 15:46:13 +0000
commit6f91456f190179b5de0ebb1ce79537b8e8844afa (patch)
tree4d7357cd1f932ccde04091de7c08fdf3f059cab6
parentb6dc9add8eca59162b4b7c3b2e8c87f7b711350e (diff)
baremetal: Don't pass cpp.driverFlags to SDCC assembler
... because the cpp.driverFlags intended only for the compiler and the linker; the assembler required the cpp.assemblerFlags instead. Change-Id: Ib2b70b349517dfa7d125e3c15491e2f4a870a95d Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
-rw-r--r--share/qbs/modules/cpp/sdcc.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/qbs/modules/cpp/sdcc.js b/share/qbs/modules/cpp/sdcc.js
index 9c7001601..2b544d27c 100644
--- a/share/qbs/modules/cpp/sdcc.js
+++ b/share/qbs/modules/cpp/sdcc.js
@@ -447,8 +447,7 @@ function assemblerFlags(project, product, input, outputs, explicitlyDependsOn) {
// Misc flags.
args = args.concat(ModUtils.moduleProperty(input, "platformFlags", tag),
- ModUtils.moduleProperty(input, "flags", tag),
- ModUtils.moduleProperty(input, "driverFlags", tag));
+ ModUtils.moduleProperty(input, "flags", tag));
args.push("-ol");
args.push(outputs.obj[0].filePath);