1 |
> On 8 Oct 2022, at 10:43, Michał Górny <mgorny@g.o> wrote: |
2 |
> |
3 |
> Hi, |
4 |
> |
5 |
> Here's a patchset adding two new functions along with tests: |
6 |
> |
7 |
> - tc-get-cxx-stdlib() that determines C++ stdlib used (libc++ vs |
8 |
> libstdc++) |
9 |
> - tc-get-c-rtlib() that determines C compiler runtime used (libgcc vs |
10 |
> compiler-rt) |
11 |
> |
12 |
> I've also included a fix for tests failing if ld.gold is not installed. |
13 |
> |
14 |
|
15 |
All LGTM, although you forgot to CC toolchain@ ;) |
16 |
|
17 |
> |
18 |
> Michał Górny (3): |
19 |
> toolchain-funcs.eclass: Add tc-get-cxx-stdlib() to get C++ stdlib |
20 |
> toolchain-funcs.eclass: Add tc-get-c-rtlib() to get CC runtime |
21 |
> eclass/tests/toolchain-funcs.sh: Handle missing ld.gold gracefully |
22 |
|
23 |
|
24 |
Best, |
25 |
sam |