mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
z88dk: disable fortify to fix buffer overflow in z80asm
This commit is contained in:
@@ -136,6 +136,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
rm src/z80asm/t/z80asm_lib.t
|
||||
'';
|
||||
|
||||
# z88dk-z80asm triggers buffer overflow detection with FORTIFY_SOURCE=3.
|
||||
# Upstream bug: https://github.com/z88dk/z88dk/issues/3042
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
# Parallel building is not working yet with the upstream Makefiles.
|
||||
# Explicitly switch this off for now.
|
||||
enableParallelBuilding = false;
|
||||
|
||||
Reference in New Issue
Block a user