fwupdate: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-05 09:29:10 +01:00
parent abec42e8eb
commit f7ba4a807f
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -13,7 +13,7 @@ in stdenv.mkDerivation {
./do-not-create-sharedstatedir.patch
];
NIX_CFLAGS_COMPILE = [ "-I${gnu-efi}/include/efi" ];
NIX_CFLAGS_COMPILE = [ "-I${gnu-efi}/include/efi" "-Wno-error=address-of-packed-member" ];
# TODO: Just apply the disable to the efi subdir
hardeningDisable = [ "stackprotector" ];