efivar: don't use lto at all
https://github.com/NixOS/nixpkgs/pull/109007#issuecomment-758150833
This commit is contained in:
parent
757ad34b82
commit
04dcf88df6
@ -40,8 +40,8 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
# We have no LTO here since commit 22284b07. With GCC 10 that triggers a warning.
|
# We have no LTO here since commit 22284b07. With GCC 10 that triggers a warning.
|
||||||
postPatch = if stdenv.isi686 then "sed '/^OPTIMIZE /s/-flto//' -i Make.defaults" else null;
|
postPatch = "sed '/^OPTIMIZE /s/-flto//' -i Make.defaults";
|
||||||
NIX_CFLAGS_COMPILE = if stdenv.isi686 then "-Wno-error=stringop-truncation" else null;
|
NIX_CFLAGS_COMPILE = "-Wno-error=stringop-truncation";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ popt ];
|
buildInputs = [ popt ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user