diff --git a/src/platform/kevin/atf/default.nix b/src/platform/kevin/atf/default.nix index c16adb6..fb83ae2 100644 --- a/src/platform/kevin/atf/default.nix +++ b/src/platform/kevin/atf/default.nix @@ -53,6 +53,12 @@ in # -F3 is needed in order to force the backport patches below to apply to an older atf patchFlags = [ "-p1" "-F3" ]; + # "error: ignoring attribute ... because it conflicts with previous ..." + NIX_CFLAGS_COMPILE = "-Wno-attributes"; + + # needed with binutils >= 2.39: https://developer.trustedfirmware.org/T996#11847 + NIX_CFLAGS_LINK = "-Wl,--no-warn-rwx-segment"; + patches = [ # backport from atf-2.3: "rockchip: Update BL31_BASE to 0x40000"