Index: visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/NaClCompile.cs |
diff --git a/visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/NaClCompile.cs b/visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/NaClCompile.cs |
index 2b6bf403019d2d46afda1b6891c14a51bc6443e4..30600d460552ca92a8f2325eaa06aa499548904e 100644 |
--- a/visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/NaClCompile.cs |
+++ b/visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/NaClCompile.cs |
@@ -373,11 +373,12 @@ namespace NaCl.Build.CPPTasks |
foreach (KeyValuePair<string, List<ITaskItem>> entry in srcGroups) |
{ |
string commandLine = entry.Key; |
- string cmd = "\"" + pathToTool + "\" " + commandLine + "--"; |
+ string cmd = "\"" + pathToTool + "\" " + commandLine + " --"; |
List<ITaskItem> sources = entry.Value; |
foreach (ITaskItem sourceItem in sources) |
{ |
+ cmd += " "; |
cmd += GCCUtilities.ConvertPathWindowsToPosix(sourceItem.ToString()); |
} |