I think `-g` should only be added if debugging is enabled.