1 |
Amend the econf parameter list with --build and --target options |
2 |
corresponding to CBUILD and CTARGET variables respectively. They are |
3 |
useful for cross-compilation purposes (whose support is improved |
4 |
in EAPI 7), and all three package managers have been passing them dating |
5 |
back at least to 2005 and/or their inception appropriately. |
6 |
--- |
7 |
pkg-mgr-commands.tex | 4 ++++ |
8 |
1 file changed, 4 insertions(+) |
9 |
|
10 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
11 |
index 9a80370..362f28d 100644 |
12 |
--- a/pkg-mgr-commands.tex |
13 |
+++ b/pkg-mgr-commands.tex |
14 |
@@ -258,7 +258,11 @@ current phase function has returned. |
15 |
\item -{}-htmldir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is listed |
16 |
in table~\ref{tab:econf-options-table} as using it. This option will only be passed if the |
17 |
string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}. |
18 |
+ \item -{}-build must be the value of the \t{CBUILD} environment variable. This option will only |
19 |
+ be passed if \t{CBUILD} is non-empty. |
20 |
\item -{}-host must be the value of the \t{CHOST} environment variable. |
21 |
+ \item -{}-target must be the value of the \t{CTARGET} environment variable. This option will only |
22 |
+ be passed if \t{CTARGET} is non-empty. |
23 |
\item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}. |
24 |
\item -{}-disable-dependency-tracking, if the EAPI is listed in |
25 |
table~\ref{tab:econf-options-table} as using it. This option will only be passed if the |
26 |
-- |
27 |
2.16.2 |