Jonathan Nieder wrote: > Marat Radchenko wrote: > > On Mon, Apr 28, 2014 at 12:37:42PM -0500, Felipe Contreras wrote: > > >>> +CC = $(CROSS_COMPILE)cc > >> > >> Nice. > > > > Actually, not. You still have to override CC because it is > > $(CROSS_COMPILE)*g*cc. Any thoughts how to handle this? > > One possibility would be something like > > ifdef CROSS_COMPILE > CC = $(CROSS_COMPILE)gcc > else > CC = cc > endif Or just: CC = $(CROSS_COMPILE)gcc Which is what the Linux kernel does. > Or as Felipe says, you can try to lobby your distro to install the > symlink. He can add the symlink into his ~/bin, or any $PATH. -- Felipe Contreras -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html