about summary refs log tree commit diff
path: root/pkgs/tools/system/efivar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/efivar/default.nix')
-rw-r--r--pkgs/tools/system/efivar/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/system/efivar/default.nix b/pkgs/tools/system/efivar/default.nix
index c4eb01d28315..c92b28e7f5ea 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 = [ pkg-config ];
   buildInputs = [ popt ];