summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-01-02 22:31:35 +0000
committerJames Le Cuirot <chewi@gentoo.org>2023-01-03 08:56:32 +0000
commite2f62c4651faf6f7ebd9ffeeb0c891945f87ab3c (patch)
tree0914eb852829e1cc338896552281e1a6f0f9a6de /eclass/toolchain-funcs.eclass
parentsys-devel/llvm: Fix cross-compiling by applying the build environment (diff)
downloadgentoo-e2f62c4651faf6f7ebd9ffeeb0c891945f87ab3c.tar.gz
gentoo-e2f62c4651faf6f7ebd9ffeeb0c891945f87ab3c.tar.bz2
gentoo-e2f62c4651faf6f7ebd9ffeeb0c891945f87ab3c.zip
toolchain-funcs.eclass: Promote tc-env_build to a non-internal function
It's generally useful and already directly used by three packages. I need to use it to fix cross-compiling of LLVM. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r--eclass/toolchain-funcs.eclass1
1 files changed, 0 insertions, 1 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index 61a29d1b6ea6..bfcd6819ed0b 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -377,7 +377,6 @@ tc-export_build_env() {
# @FUNCTION: tc-env_build
# @USAGE: <command> [command args]
-# @INTERNAL
# @DESCRIPTION:
# Setup the compile environment to the build tools and then execute the
# specified command. We use tc-getBUILD_XX here so that we work with