diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2023-11-10 16:51:02 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2023-11-10 16:51:02 +0000 |
commit | ccc097f855a99dd4891a293f1f9c526c222d8da7 (patch) | |
tree | 94132d6f59918f5cfc7fc6a70050876d40b13c61 /share/man | |
parent | 221414d5b97aacd40f08eeda664b11fdcf1b9f4e (diff) |
Add doc for CFLAGS_${CHOSEN_COMPILER} and CXXFLAGS_${CHOSEN_COMPILER}
ok tb@
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man5/bsd.port.mk.5 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5 index 1045e18f1c9..74e741bf429 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.639 2023/11/10 12:35:54 caspar Exp $ +.\" $OpenBSD: bsd.port.mk.5,v 1.640 2023/11/10 16:51:01 jca Exp $ .\" .\" Copyright (c) 2000-2008 Marc Espie .\" @@ -1317,6 +1317,18 @@ Many ports ignore it. 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. +Common usage pattern: +.Bd -literal -offset indent +CFLAGS_base-clang = -Wno-error=unused-but-set-variable +.Ed +.Pp +See also +.Ev COMPILER +and +.Ev CHOSEN_COMPILER . .It Ev CHECK_LIB_DEPENDS User settings. If set to @@ -1608,6 +1620,13 @@ is set. .It Ev CXXFLAGS 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. +See also +.Ev COMPILER +and +.Ev CHOSEN_COMPILER . .It Ev CXXOPTS User settings. Supplementary options appended to ${CXXFLAGS} for building. |