edk2: fix build with gcc8

This commit is contained in:
Robin Gloster 2019-01-11 08:45:12 +01:00 committed by Franz Pletz
parent 3649b87506
commit 5ef32577e6
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -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" ];