http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58239
--- Comment #9 from Gabriel Dos Reis <gdr at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #8) > note that the patch at: > > http://gcc.gnu.org/ml/gcc-patches/2013-08/msg01460.html > > is not quite enough to fix this on Darwin - since we use : > > %{static|static-libgcc|static-libstdc++:%:replace-outfile(-lstdc++ > libstdc++.a%s)} > > to implement -static-libstadc++. > > The relevant dir needs to be added as "-B" for this to work - unfortunately, > I'm not able to look at this right now.. -static-libstdc++ was already being used before this patch. So, the "-B" directories where already there.