diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/qbs/modules/cpp/sdcc.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/qbs/modules/cpp/sdcc.js b/share/qbs/modules/cpp/sdcc.js index 2f148d2c2..9e7c8097e 100644 --- a/share/qbs/modules/cpp/sdcc.js +++ b/share/qbs/modules/cpp/sdcc.js @@ -252,8 +252,6 @@ function assemblerFlags(project, product, input, output, explicitlyDependsOn) { var tag = ModUtils.fileTagForTargetLanguage(input.fileTags.concat(output.fileTags)); var args = []; - args.push(input.filePath); - args.push("-o", output.filePath); var allIncludePaths = []; var systemIncludePaths = input.cpp.systemIncludePaths; @@ -267,6 +265,10 @@ function assemblerFlags(project, product, input, output, explicitlyDependsOn) { args = args.concat(ModUtils.moduleProperty(input, "platformFlags", tag), ModUtils.moduleProperty(input, "flags", tag), ModUtils.moduleProperty(input, "driverFlags", tag)); + + args.push("-ol"); + args.push(output.filePath); + args.push(input.filePath); return args; } |