1 |
commit: fa19a32ef1ca7c56dd56e477e3535ca5a310c8ee |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 18 14:48:14 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 24 10:55:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=fa19a32e |
7 |
|
8 |
pkg-mgr-commands: Add --build and --target to econf (retroactively) |
9 |
|
10 |
Amend the econf parameter list with --build and --target options |
11 |
corresponding to CBUILD and CTARGET variables respectively. They are |
12 |
useful for cross-compilation purposes (whose support is improved |
13 |
in EAPI 7), and all three package managers have been passing them dating |
14 |
back at least to 2005 and/or their inception appropriately. |
15 |
|
16 |
pkg-mgr-commands.tex | 4 ++++ |
17 |
1 file changed, 4 insertions(+) |
18 |
|
19 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
20 |
index 9a80370..7883709 100644 |
21 |
--- a/pkg-mgr-commands.tex |
22 |
+++ b/pkg-mgr-commands.tex |
23 |
@@ -258,7 +258,11 @@ current phase function has returned. |
24 |
\item -{}-htmldir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is listed |
25 |
in table~\ref{tab:econf-options-table} as using it. This option will only be passed if the |
26 |
string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}. |
27 |
+ \item -{}-build must be the value of the \t{CBUILD} environment variable. This option will only |
28 |
+ be passed if \t{CBUILD} is non-empty. |
29 |
\item -{}-host must be the value of the \t{CHOST} environment variable. |
30 |
+ \item -{}-target must be the value of the \t{CTARGET} environment variable. This option will |
31 |
+ only be passed if \t{CTARGET} is non-empty. |
32 |
\item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}. |
33 |
\item -{}-disable-dependency-tracking, if the EAPI is listed in |
34 |
table~\ref{tab:econf-options-table} as using it. This option will only be passed if the |