Commit b66af631 authored by John van Groningen's avatar John van Groningen

add space before compiler options for Compile on windows (fix bug if no space after :)

parent 0f14e621
Pipeline #42966 passed with stage
in 1 minute and 26 seconds
......@@ -210,8 +210,11 @@ mangleCompiler ccstring` startupdir
| not shortOK
# line = "Error: Unable to get short path name '" +++ (startupdir +++ "\\" +++ ccstring`) +++ "'."
= (False,line,"")
# cocl = ccstring % (0, size ccstring - 2) +++. opts +++. opts`
# cocldir = RemoveFilename (ccstring % (0, size ccstring - 2))
# cocl = ccstring % (0, size ccstring - 2)
# cocldir = RemoveFilename cocl
# opts = if (size opts==0 || opts.[0]==' ') opts (" "+++opts)
# opts` = if (size opts`==0 || opts`.[0]==' ') opts` (" "+++opts`)
# cocl = cocl +++. opts +++. opts`
= (True,cocl,cocldir)
mangleCompiler2 ccstring` startupdir
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment