summaryrefslogtreecommitdiff
path: root/ext/soap/php_sdl.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-11-03 20:29:51 +0100
committerAnatol Belski <ab@php.net>2018-11-03 20:50:05 +0100
commitaea411657ee20572f8268060a4afa73bc3795497 (patch)
treebe55e681acba9cc45bd2430fbb6cdc38275a362b /ext/soap/php_sdl.c
parentd92f7630f7939ae5e2dff710f655d5c4f37a84b3 (diff)
downloadphp-git-aea411657ee20572f8268060a4afa73bc3795497.tar.gz
Change the way JIT availability is checked
The pcre2_jit_compile_8 sysmbol is always available, even JIT might be not. If JIT is not enabled explicitly and is enabled in the PHP runtime, this will lead to a malfunction. This approach ensures JIT is indeed available on the given platform. For cross compilation this might get complicated, as it would require an explicit processor architecture and PCRE2 version check. Another solution for this case is to run pcre2_config at runtime. That however would require more condition checks that would impact architectures where JIT is available.
Diffstat (limited to 'ext/soap/php_sdl.c')
0 files changed, 0 insertions, 0 deletions