[hatari-devel] CC/HOSTCC
npomarede at corp.free.fr
npomarede at corp.free.fr
Tue Mar 9 23:04:05 CET 2010
On Tue, 9 Mar 2010, Eero Tamminen wrote:
> Hi,
>
> Nicolas:
>
> http://hg.berlios.de/repos/hatari/rev/c784976559db
> -HOSTCC = $(CC)
> +HOSTCC = gcc
>
>
> However, in Makefile-default.cnf this is done like this:
> CC = gcc
> HOSTCC ?= $(CC)
>
> This way it's still overridable from command line.
Hello, I agree with the ?= syntax, I committed a change for this.
>
>
> Btw. I don't understand this change/comment from Thomas:
> http://hg.berlios.de/repos/hatari/rev/58a6b35826e5
It's true that using ?= shouldn't be a problem ; thomas, any reason for
this ?
Nicolas
>
> Of cource CC is predefined by Make. The point of using "?=" is that then
> it can be overridden by user (as still document at the top of Makefile)
> with:
> CC=my-own-cc make
> Or:
> export CC=my-own-cc
> make
> ?
>
>
> - Eero
> _______________________________________________
> hatari-devel mailing list
> hatari-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/hatari-devel
>
More information about the hatari-devel
mailing list