edk2: fix build with gcc8
This commit is contained in:
parent
3649b87506
commit
5ef32577e6
@ -33,6 +33,7 @@ edk2 = stdenv.mkDerivation {
|
|||||||
buildInputs = [ libuuid pythonEnv ];
|
buildInputs = [ libuuid pythonEnv ];
|
||||||
|
|
||||||
makeFlags = "-C BaseTools";
|
makeFlags = "-C BaseTools";
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-return-type -Wno-error=stringop-truncation";
|
||||||
|
|
||||||
hardeningDisable = [ "format" "fortify" ];
|
hardeningDisable = [ "format" "fortify" ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user