On 08/20/2011 10:07 PM, Jakub Jelinek wrote: > On Sat, Aug 20, 2011 at 09:51:33PM +0200, Matthias Klose wrote: >> Tested on non-multilib'd and multilib'd systems, both native and cross >> builds. >> Ok for the trunk? > > I don't think we want to do this unconditionally, we already search way too > many directories by default. This is a Debian/Ubuntu specific setup, I > don't think many others are going to use such a setup. > So, IMHO you should make it configure time selectable whether those extra > dirs are searched or not. And by default either don't enable it, or enable > it only on Debian/Ubuntu.
Ok, I made it conditional, enabled only if the crti.o file is found in a multiarch path.