1 |
Thank you! Pushed. |
2 |
|
3 |
Am Samstag, 25. Dezember 2021, 05:23:41 CET schrieb WANG Xuerui: |
4 |
> From: WANG Xuerui <git@×××××.name> |
5 |
> |
6 |
> There is only full support for the LP64D ABI in the initial upstream |
7 |
> submissions for the various low-level pieces, so full multilib |
8 |
> combinations are not pursued at the moment; but the expected library |
9 |
> search path of gcc (`lib64`) means the default of `lib` does not work |
10 |
> in our case. |
11 |
> |
12 |
> Signed-off-by: WANG Xuerui <git@×××××.name> |
13 |
> --- |
14 |
> eclass/multilib.eclass | 9 +++++++++ |
15 |
> 1 file changed, 9 insertions(+) |
16 |
> |
17 |
> diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass |
18 |
> index 483f8d10c72..b14b0ef7785 100644 |
19 |
> --- a/eclass/multilib.eclass |
20 |
> +++ b/eclass/multilib.eclass |
21 |
> @@ -368,6 +368,15 @@ multilib_env() { |
22 |
> ;; |
23 |
> esac |
24 |
> ;; |
25 |
> + loongarch64*) |
26 |
> + export CFLAGS_lp64d=${CFLAGS_lp64d--mabi=lp64d} |
27 |
> + export CHOST_lp64d=${CTARGET} |
28 |
> + export CTARGET_lp64d=${CTARGET} |
29 |
> + export LIBDIR_lp64d=${LIBDIR_lp64d-lib64} |
30 |
> + |
31 |
> + : ${MULTILIB_ABIS=lp64d} |
32 |
> + : ${DEFAULT_ABI=lp64d} |
33 |
> + ;; |
34 |
> mips64*|mipsisa64*) |
35 |
> export CFLAGS_o32=${CFLAGS_o32--mabi=32} |
36 |
> export CHOST_o32=${CTARGET/mips64/mips} |
37 |
|
38 |
|
39 |
-- |
40 |
Andreas K. Hüttel |
41 |
dilfridge@g.o |
42 |
Gentoo Linux developer |
43 |
(council, qa, toolchain, base-system, perl, libreoffice) |