summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2017-06-05 21:54:08 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2017-06-05 21:54:08 +0000
commit1cd79baeaf02d4fa3654701274b236f1338e9fcf (patch)
treecf6632cb6404c65c1ec3c5e247f268b81bef9e0d /share/man
parent20a126d8dc2fa34a6eb8cbcb10b957591364687f (diff)
initial docs for COMPILER_WRAPPER and COMPILER_LINKS
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man5/bsd.port.mk.520
1 files changed, 18 insertions, 2 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5
index 35c5caea693..fd85ed1e4d1 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.459 2017/05/31 10:06:02 jmc Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.460 2017/06/05 21:54:07 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: May 31 2017 $
+.Dd $Mdocdate: June 5 2017 $
.Dt BSD.PORT.MK 5
.Os
.Sh NAME
@@ -1300,6 +1300,22 @@ to select, e.g.,
from gcc 4.9 while having clang from base.
See also
.Ev CHOSEN_COMPILER .
+.It Ev COMPILER_LINKS
+Used by
+.Nm
+and compiler
+.Ev MODULES
+to build scripts in ${WRKDIR}/bin to force setting compiler flags
+(-B is required for clang to find ${WRKDIR}/bin/ld as used by
+.Ev USE_WXNEEDED )
+and call
+.Ev COMPILER_WRAPPER
+if used.
+.It Ev COMPILER_WRAPPER
+External program used to "wrap" compilers.
+Populated automatically by
+.Ev USE_CCACHE
+or can be set explicitly for other purposes (e.g. distcc).
.It Ev CONFIG_SITE_LIST
Used when
.Li CONFIGURE_STYLE=gnu ,