kicad: add sanitizeAddress & sanitizeThreads options

only kicad 5.99 or later are affected
was briefly -DKICAD_SANITIZE=ON
are mutually exclusive according to a compiler error
This commit is contained in:
Evils
2021-05-14 09:03:53 +02:00
parent e37d772beb
commit e2661b00f7
2 changed files with 16 additions and 1 deletions
@@ -25,6 +25,8 @@
, withScripting ? true
, python3
, debug ? false
, sanitizeAddress ? false
, sanitizeThreads ? false
, with3d ? true
, withI18n ? true
, srcs ? { }
@@ -162,7 +164,8 @@ stdenv.mkDerivation rec {
inherit kicadSrc kicadVersion;
inherit (passthru) i18n;
inherit wxGTK python wxPython;
inherit debug withI18n withOCC withOCE withNgspice withScripting;
inherit withI18n withOCC withOCE withNgspice withScripting;
inherit debug sanitizeAddress sanitizeThreads;
};
inherit pname;