make gcc wrapper rewrite link options rather than just extending them

this is not tested yet, but should work to get rid of unwanted
--hash-style=gnu hacks present in some distro-patched gcc versions.
1 file changed