Skip to content

Commit

Permalink
pcre2: don't require jit_sealloc support by default
Browse files Browse the repository at this point in the history
On platforms that don't support jit_sealloc, disable it by default rather
than forcing the superproject to override the option.
  • Loading branch information
bgilbert authored and neheb committed Sep 14, 2024
1 parent 86bde15 commit 528fae4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions subprojects/packagefiles/pcre2/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ if not get_option('jit_sealloc').disabled()
cdata.set10('SLJIT_PROT_EXECUTABLE_ALLOCATOR', true)
elif get_option('jit_sealloc').enabled()
error('Your configuration is not supported')
else
message('jit_sealloc is not supported on this platform')
endif
endif
endif
Expand Down
2 changes: 1 addition & 1 deletion subprojects/packagefiles/pcre2/meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ option(
description: 'Support for Just-in-time compiling'
)
option(
'jit_sealloc', type: 'feature', value: 'enabled',
'jit_sealloc', type: 'feature', value: 'auto',
description: 'SELinux compatible execmem allocator in JIT (experimental)'
)
option(
Expand Down

0 comments on commit 528fae4

Please sign in to comment.