arm-trusted-firmware: set HOSTCC to CC_FOR_BUILD

arm-trusted-firmware assumes that HOSTCC is `gcc` which is not
necessarily the case.
This commit is contained in:
sternenseemann
2023-08-17 09:57:18 +02:00
parent fd1f73aaa2
commit 2fa0422405
@@ -52,6 +52,7 @@ let
buildInputs = [ openssl ];
makeFlags = [
"HOSTCC=$(CC_FOR_BUILD)"
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
# binutils 2.39 regression
# `warning: /build/source/build/rk3399/release/bl31/bl31.elf has a LOAD segment with RWX permissions`