On Mon, May 08, 2006 at 09:52:12AM +0200, Pavel Jan?k wrote: > From: "Jim C. Brown" <[EMAIL PROTECTED]> > Date: Sun, 7 May 2006 20:34:11 -0400 > > > The right thing to do might be to check if the first arg is ccache, > > and if so check for both ccache and the 2nd compiler. Especially if > > ccache is the only compiler that requires arguments be passed to it > > in --cc or CC= > > This is also wrong - you can use "distcc ccache gcc" as your compiler...
Hmm. Maybe make the check into a function, and if the first arg is distcc or ccache, check that the first arg is -x and then call the function recursively with the remaining args. Else just check if the compiler exists. > -- > Pavel Jan?k > > Sounds like a "bug waiting to be implemented" ;) > -- Rik van Riel in linux-kernel > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection. _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel