Merge pull request #72819 from lopsided98/gnu-efi-armv6l
gnu-efi: apply patch to fix build on armv6l
This commit is contained in:
commit
699418dcaa
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPackages, fetchurl, pciutils }:
|
||||
{ stdenv, buildPackages, fetchurl, fetchpatch, pciutils }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1ffnc4xbzfggs37ymrgfx76j56kk2644c081ivhr2bjkla9ag3gj";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build on armv6l
|
||||
(fetchpatch {
|
||||
url = "https://sourceforge.net/p/gnu-efi/patches/_discuss/thread/25bb273a18/9c4d/attachment/0001-Fix-ARCH-on-armv6-and-other-32-bit-ARM-platforms.patch";
|
||||
sha256 = "0pj03h20g2bbz6fr753bj1scry6919h57l1h86z3b6q7hqfj0b4r";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ pciutils ];
|
||||
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
|
Loading…
Reference in New Issue
Block a user