From: Felipe Contreras Date: Mon, 28 Apr 2014 18:09:58 GMT Subject: Re: [PATCH 04/12] Makefile: introduce CROSS_COMPILE variable Message-ID: <535e9976f1835_499f1069310db@nysa.notmuch> In-Reply-To: <20140428181506.GA20059@seldon> 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? Tell mingw to fix this? My distribution (Arch Linux) provides a link x86_64-w64-mingw32-cc -> x86_64-w64-mingw32-gcc. -- Felipe Contreras