diff options
Diffstat (limited to 'solenv/gcc-wrappers')
-rw-r--r-- | solenv/gcc-wrappers/wrapper.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/gcc-wrappers/wrapper.cxx b/solenv/gcc-wrappers/wrapper.cxx index 9dacb26116c1..e68603c14013 100644 --- a/solenv/gcc-wrappers/wrapper.cxx +++ b/solenv/gcc-wrappers/wrapper.cxx @@ -186,6 +186,11 @@ int startprocess(string command, string args) { command=command.substr(0,pos+strlen("ccache"))+".exe"; } + if (args[0] != ' ') + { + args.insert(0, " "); // lpCommandLine *must* start with space! + } + //cerr << "CMD= " << command << " " << args << endl; // Commandline may be modified by CreateProcess |