[RFC] Support trailing spaces in ninja generated build files

Closes #1222

Use end of options -- to preserve any trailing spaces
The comment doesn't make sense to me in the context. Should it be "use -- to forcibly end options"?