summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-02-18 15:48:14 +0100
committerUlrich Müller <ulm@gentoo.org>2018-02-24 11:55:54 +0100
commitfa19a32ef1ca7c56dd56e477e3535ca5a310c8ee (patch)
tree5441b998b30208b7e949871dd8c1627de1871db8
parentappendices.tex: Clarify unspecified items. (diff)
downloadpms-fa19a32ef1ca7c56dd56e477e3535ca5a310c8ee.tar.gz
pms-fa19a32ef1ca7c56dd56e477e3535ca5a310c8ee.tar.bz2
pms-fa19a32ef1ca7c56dd56e477e3535ca5a310c8ee.zip
pkg-mgr-commands: Add --build and --target to econf (retroactively)
Amend the econf parameter list with --build and --target options corresponding to CBUILD and CTARGET variables respectively. They are useful for cross-compilation purposes (whose support is improved in EAPI 7), and all three package managers have been passing them dating back at least to 2005 and/or their inception appropriately.
-rw-r--r--pkg-mgr-commands.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 9a80370..7883709 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -258,7 +258,11 @@ current phase function has returned.
\item -{}-htmldir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is listed
in table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}.
+ \item -{}-build must be the value of the \t{CBUILD} environment variable. This option will only
+ be passed if \t{CBUILD} is non-empty.
\item -{}-host must be the value of the \t{CHOST} environment variable.
+ \item -{}-target must be the value of the \t{CTARGET} environment variable. This option will
+ only be passed if \t{CTARGET} is non-empty.
\item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}.
\item -{}-disable-dependency-tracking, if the EAPI is listed in
table~\ref{tab:econf-options-table} as using it. This option will only be passed if the