Gentoo Archives: gentoo-dev

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-dev@l.g.o
Cc: Sergei Trofimovich <slyfox@g.o>
Subject: [gentoo-dev] [PATCH 1/2] toolchain-funcs.eclass: export tc-get*STRINGS helpers
Date: Sun, 14 Jun 2020 08:37:55
Message-Id: 20200614083744.3710150-1-slyfox@gentoo.org
1 Signed-off-by: Sergei Trofimovich <slyfox@g.o>
2 ---
3 eclass/toolchain-funcs.eclass | 8 ++++++++
4 1 file changed, 8 insertions(+)
5
6 diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
7 index a88d9a114ff..ec7b920bcfa 100644
8 --- a/eclass/toolchain-funcs.eclass
9 +++ b/eclass/toolchain-funcs.eclass
10 @@ -73,6 +73,10 @@ tc-getCXX() { tc-getPROG CXX g++ "$@"; }
11 # @USAGE: [toolchain prefix]
12 # @RETURN: name of the linker
13 tc-getLD() { tc-getPROG LD ld "$@"; }
14 +# @FUNCTION: tc-getSTRINGS
15 +# @USAGE: [toolchain prefix]
16 +# @RETURN: name of the strings program
17 +tc-getSTRINGS() { tc-getPROG STRINGS strings "$@"; }
18 # @FUNCTION: tc-getSTRIP
19 # @USAGE: [toolchain prefix]
20 # @RETURN: name of the strip program
21 @@ -150,6 +154,10 @@ tc-getBUILD_CXX() { tc-getBUILD_PROG CXX g++ "$@"; }
22 # @USAGE: [toolchain prefix]
23 # @RETURN: name of the linker for building binaries to run on the build machine
24 tc-getBUILD_LD() { tc-getBUILD_PROG LD ld "$@"; }
25 +# @FUNCTION: tc-getBUILD_STRINGS
26 +# @USAGE: [toolchain prefix]
27 +# @RETURN: name of the strings program for building binaries to run on the build machine
28 +tc-getBUILD_STRINGS() { tc-getBUILD_PROG STRINGS strings "$@"; }
29 # @FUNCTION: tc-getBUILD_STRIP
30 # @USAGE: [toolchain prefix]
31 # @RETURN: name of the strip program for building binaries to run on the build machine
32 --
33 2.27.0

Replies

Subject Author
[gentoo-dev] [PATCH 2/2] multilib.eclass: populate STRINGS Sergei Trofimovich <slyfox@g.o>