Ports/ObjFW: Disable pledge() support

This commit is contained in:
Sergey Bugaev 2024-04-23 15:35:15 +03:00 committed by Tim Schumacher
parent e3e9c67ab9
commit 67f659bb85
Notes: sideshowbarker 2024-07-17 08:45:34 +09:00

View file

@ -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')