efivar: fixup build on i686

I don't think it really needs LTO.
This commit is contained in:
Vladimír Čunát 2020-02-17 21:04:32 +01:00
parent 06d625a7fe
commit 9b4424cbb7
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
sha256 = "0lc38npydp069nlcga25wzzm204ww9l6mpjfn6wmhdfhn0pgjwky";
})
];
# We have no LTO here since commit 22284b07.
postPatch = if stdenv.isi686 then "sed '/^OPTIMIZE /s/-flto//' -i Make.defaults" else null;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ popt ];