1 |
Hello, |
2 |
|
3 |
Following all the suggestions from Alexis Ballier, I have reworked |
4 |
the code to remove multiple points of failure. I have also rebased it |
5 |
on the common multilib-build eclass concept, and updated amd64 |
6 |
no-multilib & x86 profiles as well. |
7 |
|
8 |
Key points: |
9 |
|
10 |
1. The list of available flags and corresponding ABIs is now stored |
11 |
in a single variable. Adding a new ABI is as simple as adding |
12 |
a value to that variable (+ profiles). |
13 |
|
14 |
2. All ABIs are validated against $(get_all_abis) list. This guarantees |
15 |
that we check only the flags proper for the arch. |
16 |
|
17 |
3. The USE_EXPAND is visible only on amd64 multilib profile. However, |
18 |
it is also available on non-multilib amd64 & x86, with all flags |
19 |
masked except for the default one which is force-enabled. |
20 |
|
21 |
The last point means that x86 binary packages (skype) can have |
22 |
dependencies as simple as: |
23 |
|
24 |
dev-libs/libfoo[abi_x86_32] |
25 |
|
26 |
which would be valid both for amd64 multilib & x86. |