As far as I know no linker needs or wants the -g flag.