Re-add -g flag.

This was removed due to its interaction with LTO being 'undefined'.
However, I believe I misinterpreted that as 'unsafe', which isn't right.