efibootmgr: Fix the cross compilation
This commit is contained in:
parent
1ce06d2448
commit
5afd967d70
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||||||
# We have no LTO here since commit 22284b07.
|
# We have no LTO here since commit 22284b07.
|
||||||
postPatch = if stdenv.isi686 then "sed '/^CFLAGS/s/-flto//' -i Make.defaults" else null;
|
postPatch = if stdenv.isi686 then "sed '/^CFLAGS/s/-flto//' -i Make.defaults" else null;
|
||||||
|
|
||||||
makeFlags = [ "EFIDIR=nixos" ];
|
makeFlags = [ "EFIDIR=nixos" "PKG_CONFIG=${stdenv.cc.targetPrefix}pkg-config" ];
|
||||||
|
|
||||||
installFlags = [ "prefix=$(out)" ];
|
installFlags = [ "prefix=$(out)" ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user