Fixed NASM command line arguments.

This commit is contained in:
José Pedro 2018-02-08 22:18:16 +00:00
parent df3eb587a5
commit 52cf4e39d0
No known key found for this signature in database
GPG key ID: B8247B9301707B83

View file

@ -74,11 +74,8 @@ namespace Cosmos.Build.Tasks
xBuilder.AppendSwitch("-g");
xBuilder.AppendSwitch("-f");
xBuilder.AppendSwitch(OutputFormat);
xBuilder.AppendSwitch("-o ");
xBuilder.AppendSwitch(OutputFile);
xBuilder.AppendSwitchIfNotNull("-f ", OutputFormat);
xBuilder.AppendSwitchIfNotNull("-o ", OutputFile);
if (mOutputFormat == OutputFormatEnum.ELF)
{