From b2546c2c8f909e21ce00d40139fa15b6306fbfa1 Mon Sep 17 00:00:00 2001 From: Matteo Pacini Date: Sat, 11 Apr 2026 22:15:27 +0100 Subject: [PATCH] open-watcom-v2-unwrapped: disable strictflexarrays1 to fix build --- pkgs/development/compilers/open-watcom/v2.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/compilers/open-watcom/v2.nix b/pkgs/development/compilers/open-watcom/v2.nix index 177244656c29..4281495471df 100644 --- a/pkgs/development/compilers/open-watcom/v2.nix +++ b/pkgs/development/compilers/open-watcom/v2.nix @@ -51,6 +51,9 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail '-static' "" ''; + # https://github.com/open-watcom/open-watcom-v2/issues/1608 + hardeningDisable = [ "strictflexarrays1" ]; + nativeBuildInputs = lib.optionals withDocs [ dosbox # running prebuilt WGML tool to create docs ghostscript