diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2021-01-11 19:51:08 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-01-11 19:51:10 +0100 |
commit | 04dcf88df6ee9ca403a42b3035af51932c711c41 (patch) | |
tree | 7b088406d1da4d1e43aef5155046be9a549dcb79 /pkgs/tools/system | |
parent | 757ad34b82c18f4d862a66730e3eead4272b1bfa (diff) |
efivar: don't use lto at all
https://github.com/NixOS/nixpkgs/pull/109007#issuecomment-758150833
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/efivar/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/system/efivar/default.nix b/pkgs/tools/system/efivar/default.nix index 3300e0b275183..46741c1408a24 100644 --- a/pkgs/tools/system/efivar/default.nix +++ b/pkgs/tools/system/efivar/default.nix @@ -40,8 +40,8 @@ stdenv.mkDerivation rec { }) ]; # 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; - NIX_CFLAGS_COMPILE = if stdenv.isi686 then "-Wno-error=stringop-truncation" else null; + postPatch = "sed '/^OPTIMIZE /s/-flto//' -i Make.defaults"; + NIX_CFLAGS_COMPILE = "-Wno-error=stringop-truncation"; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ popt ]; |