pcre2: Use scons option to disable JIT on some platforms

Third-party platforms (e.g. console ports) need to be able to
disable JIT support in the regex module too, so it can't be
hardcoded in the module SCsub. This is cleaner this way anyway.

Fixes #19316.
This commit is contained in:
Rémi Verschelde 2019-11-20 08:54:52 +01:00
parent 3be6e76f22
commit 02913f53d3
4 changed files with 4 additions and 3 deletions

View file

@ -34,6 +34,7 @@ def get_flags():
return [
('tools', False),
('xaudio2', True),
('builtin_pcre2_with_jit', False),
]