diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2019-11-03 01:05:04 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-11-03 01:24:45 +0100 |
commit | cec9a7e93a5ab1b662bf38222e6b017ed25ffadd (patch) | |
tree | 7d8879399b438adff7f88572570ed4f4b1c80e07 /pkgs/tools/system/vboot_reference | |
parent | 7b83464d0fcb39330ab2a25fca0d98a691ea4878 (diff) |
vboot_reference: fix build with gcc9
Diffstat (limited to 'pkgs/tools/system/vboot_reference')
-rw-r--r-- | pkgs/tools/system/vboot_reference/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/system/vboot_reference/default.nix b/pkgs/tools/system/vboot_reference/default.nix index 0bf8a7e85dce1..ab78551e4fc6e 100644 --- a/pkgs/tools/system/vboot_reference/default.nix +++ b/pkgs/tools/system/vboot_reference/default.nix @@ -19,6 +19,9 @@ stdenv.mkDerivation rec { patches = [ ./dont_static_link.patch ]; + # fix build with gcc9 + NIX_CFLAGS_COMPILE = [ "-Wno-error" ]; + postPatch = '' substituteInPlace Makefile \ --replace "ar qc" '${stdenv.cc.bintools.targetPrefix}ar qc' |