mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
efibootmgr: fixup build on i686
Same as efivar; I believe it doesn't really needs LTO. I checked: nix build -f nixos/release-combined.nix nixos.iso_minimal.i686-linux
This commit is contained in:
parent
af8d7003cf
commit
f595677418
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1sbijvlpv4khkix3vix9mbhzffj8lp8zpnbxm9gnzjz8yssz9p5h";
|
||||
})
|
||||
];
|
||||
# We have no LTO here since commit 22284b07.
|
||||
postPatch = if stdenv.isi686 then "sed '/^CFLAGS/s/-flto//' -i Make.defaults" else null;
|
||||
|
||||
makeFlags = [ "EFIDIR=nixos" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue