mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
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:
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`
|
||||
|
Loading…
Reference in New Issue
Block a user