summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2023-11-10 17:37:21 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2023-11-10 17:37:21 +0000
commit295320fd854746707dc3c7a08ca289b6ddc99b99 (patch)
tree64d80a9f8070b871673705de680e04943e5e8812 /share/man
parentccc097f855a99dd4891a293f1f9c526c222d8da7 (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.519
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