1 |
Explicitly list passing --build by econf, as necessary to pass CBUILD |
2 |
for cross-compilation. This has probably been missed in previous feature |
3 |
list for EAPI 7 as Portage is doing it already. |
4 |
--- |
5 |
eapi-differences.tex | 3 ++- |
6 |
pkg-mgr-commands.tex | 20 ++++++++++++-------- |
7 |
2 files changed, 14 insertions(+), 9 deletions(-) |
8 |
|
9 |
TODO: do we want --target for CTARGET as well? |
10 |
|
11 |
diff --git a/eapi-differences.tex b/eapi-differences.tex |
12 |
index 2d6fd25..69d5500 100644 |
13 |
--- a/eapi-differences.tex |
14 |
+++ b/eapi-differences.tex |
15 |
@@ -257,7 +257,7 @@ Output commands use stdout & \compactfeatureref{output-no-stdout} & |
16 |
None & disable dependency tracking & |
17 |
disable dependency tracking, disable silent rules & |
18 |
disable dependency tracking, disable silent rules, docdir, htmldir & |
19 |
- disable dependency tracking, disable silent rules, docdir, htmldir, with sysroot \\ |
20 |
+ disable dependency tracking, disable silent rules, docdir, htmldir, with sysroot, build \\ |
21 |
|
22 |
\t{dodoc -r} & \compactfeatureref{dodoc} & |
23 |
No & Yes & Yes & Yes & Yes \\ |
24 |
@@ -487,6 +487,7 @@ EAPI 7 is EAPI 6 with the following changes: |
25 |
\item \t{domo} installs to \t{/usr}, \featureref{domo-path}. |
26 |
\item Controllable stripping and \t{dostrip}, \featureref{dostrip}. |
27 |
\item Version manipulation and comparison commands, \featureref{ver-commands}. |
28 |
+\item \t{econf} adds \t{-{}-build}, \featureref{econf-options}. |
29 |
\end{compactitem} |
30 |
|
31 |
\ChangeWhenAddingAnEAPI{7} |
32 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
33 |
index c7ff680..2760ea8 100644 |
34 |
--- a/pkg-mgr-commands.tex |
35 |
+++ b/pkg-mgr-commands.tex |
36 |
@@ -340,6 +340,9 @@ current phase function has returned. |
37 |
\item -{}-with-sysroot must be \t{\$\{ESYSROOT\}}, if the EAPI is listed in |
38 |
table~\ref{tab:econf-options-table} as using it. This option will only be passed if the |
39 |
string \t{-{}-with-sysroot} occurs in the output of \t{configure -{}-help}. |
40 |
+ \item -{}-build must be the value of the \t{CBUILD} environment variable, if the EAPI is listed |
41 |
+ table~\ref{tab:econf-options-table} as using it. This option will only be passed if the |
42 |
+ \t{CBUILD} variable is set to a non-empty value. |
43 |
\item -{}-host must be the value of the \t{CHOST} environment variable. |
44 |
\item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}. |
45 |
\item -{}-disable-dependency-tracking, if the EAPI is listed in |
46 |
@@ -353,20 +356,21 @@ current phase function has returned. |
47 |
\ChangeWhenAddingAnEAPI{7} |
48 |
\begin{centertable}{Extra \t{econf} arguments for EAPIs} |
49 |
\label{tab:econf-options-table} |
50 |
- \begin{tabular}{llllll} |
51 |
+ \begin{tabular}{lllllll} |
52 |
\toprule |
53 |
\multicolumn{1}{c}{\textbf{EAPI}} & |
54 |
- \multicolumn{1}{P{9em}}{\textbf{-{}-disable-dependency-tracking}} & |
55 |
+ \multicolumn{1}{P{5em}}{\textbf{-{}-disable-dependency-tracking}} & |
56 |
\multicolumn{1}{P{5em}}{\textbf{-{}-disable-silent-rules}} & |
57 |
\multicolumn{1}{c}{\textbf{-{}-docdir}} & |
58 |
\multicolumn{1}{c}{\textbf{-{}-htmldir}} & |
59 |
- \multicolumn{1}{c}{\textbf{-{}-with-sysroot}} \\ |
60 |
+ \multicolumn{1}{c}{\textbf{-{}-with-sysroot}} & |
61 |
+ \multicolumn{1}{c}{\textbf{-{}-build}} \\ |
62 |
\midrule |
63 |
- 0, 1, 2, 3 & No & No & No & No & No \\ |
64 |
- 4 & Yes & No & No & No & No \\ |
65 |
- 5 & Yes & Yes & No & No & No \\ |
66 |
- 6 & Yes & Yes & Yes & Yes & No \\ |
67 |
- 7 & Yes & Yes & Yes & Yes & Yes \\ |
68 |
+ 0, 1, 2, 3 & No & No & No & No & No & No \\ |
69 |
+ 4 & Yes & No & No & No & No & No \\ |
70 |
+ 5 & Yes & Yes & No & No & No & No \\ |
71 |
+ 6 & Yes & Yes & Yes & Yes & No & No \\ |
72 |
+ 7 & Yes & Yes & Yes & Yes & Yes & Yes \\ |
73 |
\bottomrule |
74 |
\end{tabular} |
75 |
\end{centertable} |
76 |
-- |
77 |
2.16.1 |