1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

Merge pull request #195275 from samueldr/fix/tfa-bintools239

armTrustedFirmware: Fix bintools 2.39 regression (LOAD segment with RWX)
This commit is contained in:
Samuel Dionne-Riel 2022-10-16 01:28:35 -04:00 committed by GitHub
commit 8e8391911b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,6 +53,10 @@ let
makeFlags = [
"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`
# See also: https://developer.trustedfirmware.org/T996
"LDFLAGS=-no-warn-rwx-segments"
] ++ (lib.optional (platform != null) "PLAT=${platform}")
++ extraMakeFlags;