diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2023-11-10 17:37:21 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2023-11-10 17:37:21 +0000 |
commit | 295320fd854746707dc3c7a08ca289b6ddc99b99 (patch) | |
tree | 64d80a9f8070b871673705de680e04943e5e8812 /share/man | |
parent | ccc097f855a99dd4891a293f1f9c526c222d8da7 (diff) |
Also mention COMPILER_LANGS for CFLAGS_${CHOSEN_COMPILER}
Suggested by espie@
While here, sprinkle more .Ev.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man5/bsd.port.mk.5 | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5 index 74e741bf429..690c65816aa 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.640 2023/11/10 16:51:01 jca Exp $ +.\" $OpenBSD: bsd.port.mk.5,v 1.641 2023/11/10 17:37:20 jca Exp $ .\" .\" Copyright (c) 2000-2008 Marc Espie .\" @@ -1318,15 +1318,17 @@ See also .Ev COPTS , .Ev CDIAGFLAGS . .It Ev CFLAGS_${CHOSEN_COMPILER} -Additional CFLAGS that will be appended to CFLAGS depending on the value -of CHOSEN_COMPILER. +Additional flags that will be appended to +.Ev CFLAGS +depending on the value of +.Ev CHOSEN_COMPILER . Common usage pattern: .Bd -literal -offset indent CFLAGS_base-clang = -Wno-error=unused-but-set-variable .Ed .Pp See also -.Ev COMPILER +.Ev COMPILER , COMPILER_LANGS and .Ev CHOSEN_COMPILER . .It Ev CHECK_LIB_DEPENDS @@ -1621,10 +1623,13 @@ is set. Default flags passed to the C++ compiler for building. Many ports ignore it. .It Ev CXXFLAGS_${CHOSEN_COMPILER} -Additional CXXFLAGS that will be appended to CXXFLAGS depending on the -value of CHOSEN_COMPILER. +Additional flags that will be appended to +.Ev CXXFLAGS +depending on the +value of +.Ev CHOSEN_COMPILER . See also -.Ev COMPILER +.Ev COMPILER , COMPILER_LANGS and .Ev CHOSEN_COMPILER . .It Ev CXXOPTS |