z88dk: disable fortify to fix buffer overflow in z80asm

This commit is contained in:
Ben Siraphob
2026-04-10 22:11:01 -07:00
parent 8a83ebc6ed
commit 7bec3ba0c9

View File

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