[U-Boot] [PATCH v2 7/8] Makefile: default to cc for host compiler

Jeroen Hofstee
2014-09-09T17:34:44Z

Hello Albert,

On 09-09-14 16:31, Albert ARIBAUD wrote:
> On Thu, 31 Jul 2014 19:01:22 +0900, Masahiro Yamada
> <yamada.m@jp.panasonic.com> wrote:
>
>>> HOSTCXX = g++
>>> HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
>> For consistency,
>>
>> HOSTCXX = c++
>>
>> ?
> So, Jeroen, what is your pick ? Will you send a v3 7/8, or are you
> sticking with g++?
>
> (or if everyone agrees, I could to the change to v2 7/8 when applying
> it, and add a comment about it in the commit message.)

I did check Masahiro's statement that cpp is actually used in u-boot
and it is; make xconfig uses it, if I recall correctly. And as Masahiro
suggested I sent it to linux-kbuild mailinglist, but I am in the impression
it never arrived, perhaps I need to be subscribed or something...

Anyway, Masahiro's suggestion is sound and I am fine you changing
it while applying. I tested it on FreeBSD, Xubuntu and Debian.

Regards,
Jeroen