edk2: fix build with gcc8

This commit is contained in:
Robin Gloster
2019-06-17 07:06:05 +02:00
committed by Franz Pletz
parent 3649b87506
commit 5ef32577e6
@@ -33,6 +33,7 @@ edk2 = stdenv.mkDerivation {
buildInputs = [ libuuid pythonEnv ];
makeFlags = "-C BaseTools";
NIX_CFLAGS_COMPILE = "-Wno-return-type -Wno-error=stringop-truncation";
hardeningDisable = [ "format" "fortify" ];