mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Ports/ObjFW: Disable pledge() support
This commit is contained in:
parent
e3e9c67ab9
commit
67f659bb85
Notes:
sideshowbarker
2024-07-17 08:45:34 +09:00
Author: https://github.com/bugaevc Commit: https://github.com/SerenityOS/serenity/commit/67f659bb85 Pull-request: https://github.com/SerenityOS/serenity/pull/24081 Reviewed-by: https://github.com/timschumi ✅
1 changed files with 6 additions and 0 deletions
|
@ -13,3 +13,9 @@ config_sub_paths=(
|
|||
depends=(
|
||||
'openssl'
|
||||
)
|
||||
|
||||
# Disable pledge support.
|
||||
# If ObjFW detects pledge(), it expects it to be exactly OpenBSD-compatible,
|
||||
# which ours is not. This then causes ObjFW to hard-abort upon trying to use
|
||||
# pledge() to enter a sandbox.
|
||||
configopts=('ac_cv_func_pledge=no')
|
||||
|
|
Loading…
Reference in a new issue