mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Disabled PCRE-JIT in HTML5. Fixes #10834
This commit is contained in:
parent
a717083235
commit
566c0f675a
@ -8,8 +8,11 @@ env_regex.Append(CPPFLAGS=["-DPCRE2_CODE_UNIT_WIDTH=0"])
|
||||
env_regex.add_source_files(env.modules_sources, "*.cpp")
|
||||
|
||||
if (env['builtin_pcre2'] != 'no'):
|
||||
thirdparty_dir = "#thirdparty/pcre2/src/"
|
||||
thirdparty_flags = ["-DPCRE2_STATIC", "-DHAVE_CONFIG_H", "-DSUPPORT_JIT"]
|
||||
jit_blacklist = ['javascript']
|
||||
thirdparty_dir = '#thirdparty/pcre2/src/'
|
||||
thirdparty_flags = ['-DPCRE2_STATIC', '-DHAVE_CONFIG_H']
|
||||
if 'platform' in env and env['platform'] not in jit_blacklist:
|
||||
thirdparty_flags.append('-DSUPPORT_JIT')
|
||||
thirdparty_sources = [
|
||||
"pcre2_auto_possess.c",
|
||||
"pcre2_chartables.c",
|
||||
|
Loading…
Reference in New Issue
Block a user