Re: [PATCH] rt-tests: Makefile: Fix cross-compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018-04-05, Phil Edworthy <phil.edworthy@xxxxxxxxxxx> wrote:
> CC and AR have default values, so doing:
>    CC?=$(CROSS_COMPILE)gcc
> will never modify CC.
>
> Fix this by setting CC and AR with $(CROSS_COMPILE) prepended.

Please see the discussion [0] about why it is the way it is. And, in
particular, the conclusion [1].

John Ogness

[0] https://www.spinics.net/lists/linux-rt-users/msg14302.html
[1] https://www.spinics.net/lists/linux-rt-users/msg14322.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux