include/trusted-firmware-a.mk: unset CC before compiling
authorThomas Richard <thomas.richard@bootlin.com>
Fri, 3 Jan 2025 09:19:05 +0000 (10:19 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 4 Jan 2025 17:11:40 +0000 (18:11 +0100)
commit4baa20ec661725550a830e7c86f9f75cbb1fbc4b
tree12c3516c8f98235881ae214dab61cbbb35a22107
parent551e04f3c9c063d885ca7a91db36f27f684a3a5c
include/trusted-firmware-a.mk: unset CC before compiling

If CC is explicitly set to a non default value, TF-A keeps this value.
Otherwise it assigns generic default value.
As the build bot set CC=/usr/bin/gcc-10, TF-A uses it which causes a
compile issue.
So unset CC before compiling.

It's a new behavior since v2.12. A part of the explanation is available in
this commit [1].

[1] https://github.com/ARM-software/arm-trusted-firmware/commit/e01c71266f9df46ac46dc72669449490d1c94419

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/17465
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
include/trusted-firmware-a.mk