http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52556
Brooks Moses <brooks at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brooks at gcc dot gnu.org --- Comment #6 from Brooks Moses <brooks at gcc dot gnu.org> --- Richard Biener mentioned that Red Hat has "a local patch that allows amending link_spec from an external file, which would sound more flexible" here: http://patchwork.ozlabs.org/patch/80538/ It's not completely clear whether it applies to this case, however; he mentioned that it could be used to produce the equivalent of a -Wl,-rpath=... option. The Google-branch change that Christer mentions adds a -dynamic-linker=... option to the link spec rather than an -rpath option -- I would guess that the patch Richard mentions could cover that as well, but I'm not sure.