From c5a57b5d94cb85cd4872be5ebdbb997716dd0c0c Mon Sep 17 00:00:00 2001 From: sthen Date: Mon, 9 Jan 2023 17:17:55 +0000 Subject: [PATCH] document USE_NOEXECONLY --- share/man/man5/bsd.port.mk.5 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5 index 2d9d19c8dc1..c607c7e8311 100644 --- a/share/man/man5/bsd.port.mk.5 +++ b/share/man/man5/bsd.port.mk.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bsd.port.mk.5,v 1.571 2022/09/11 11:56:28 jmc Exp $ +.\" $OpenBSD: bsd.port.mk.5,v 1.572 2023/01/09 17:17:55 sthen Exp $ .\" .\" Copyright (c) 2000-2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 11 2022 $ +.Dd $Mdocdate: January 9 2023 $ .Dt BSD.PORT.MK 5 .Os .Sh NAME @@ -3351,6 +3351,15 @@ and not intended to be a user setting. See .Ev WRKOBJDIR_MFS for configuration. +.It Ev USE_NOEXECONLY +If set to +.Sq Yes , +writes a wrapper script to ${WRKDIR}/bin/ld in +.Cm patch +adding +.Fl -no-execute-only . +Use when a port does not work with execute-only code sections +which are enabled by default on some architectures. .It Ev USE_WXNEEDED If set to .Sq Yes , -- 2.20.1