On Wed, Apr 16, 2014 at 02:45:37PM -0400, DJ Delorie wrote: > I'll approve both patches, if you agree to think about a way to solve > this problem without module-specific configury changes for each such > command line option. I understand the usefulness of having > instrumentation, but the configure hack is a hack.
Only the second patch I'd consider a hack, the first patch merely makes sure the POSTSTAGE1_LDFLAGS stuff actually isn't eaten by libtool. I'll think about other options for the second patch. > Note that in a combined tree this isn't a problem, because we'd just > instrument the linker at the same time. Only if you never use the plugin from the combined tree build with any other linker. Add -B ../ to some other linker and suddenly it will crash. Jakub