http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54482
Ollie Wild <aaw at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot |aaw at gcc dot gnu.org |gnu.org | --- Comment #1 from Ollie Wild <aaw at gcc dot gnu.org> 2012-09-06 14:52:23 UTC --- The best solution I could come up with was to patch libtool to enable passing options destined for only the shared or static library builds. See http://gcc.gnu.org/ml/gcc-patches/2012-09/msg00340.html for the temporary workaround I've applied to the google/* branches. Getting this submitted to trunk is going to be a roundabout process. I need to patch libtool, import an updated libtool to gcc (last one was in 2009), and convert libstdc++ to use a macro other than PIC for identifying that it's being compiled as part of a shared library. If other people have better ideas, I'm all ears.