public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-pms] [PATCH v4] pkg-mgr-commands: Add --build and --target to econf (retroactively)
@ 2018-02-18 14:48 99% Michał Górny
  0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2018-02-18 14:48 UTC (permalink / raw
  To: gentoo-pms; +Cc: Michał Górny

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.
---
 pkg-mgr-commands.tex | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 9a80370..362f28d 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
-- 
2.16.2



^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-02-18 14:48 99% [gentoo-pms] [PATCH v4] pkg-mgr-commands: Add --build and --target to econf (retroactively) Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox