Lucas Raab writes: > New version attached ok bentley@
> diff /usr/src > commit - 2933f00289463a6d1923d1b9cc5e5c1c5c697ece > path + /usr/src > blob - 00ec6c3f81fcf03e2222a69eabe8de1741a6e562 > file + share/man/man5/bsd.port.mk.5 > --- share/man/man5/bsd.port.mk.5 > +++ share/man/man5/bsd.port.mk.5 > @@ -3613,6 +3613,22 @@ and not intended to be a user setting. > See > .Ev WRKOBJDIR_MFS > for configuration. > +.It Ev USE_NOBTCFI > +If set to > +.Sq Yes , > +writes a wrapper script to > +.Pa ${WRKDIR}/bin/ld > +in > +.Cm patch > +to request that the linker adds an > +.Dv PT_OPENBSD_NOBTCFI > +ELF section. > +Use when a port does not work with the default strict enforcement of > +indirect branch targets. > +.Pp > +Applies to all architectures; set > +.Ev USE_NOBTCFI-${MACHINE_ARCH} > +to apply to only a specific architecture. > .It Ev USE_NOEXECONLY > If set to > .Sq Yes ,