1 |
commit: eff08bb91e79829b0c5257b9aee380d06b784aaa |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 7 19:23:25 2019 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 7 19:24:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eff08bb9 |
7 |
|
8 |
multilib-build.eclass: add riscv cases to header wrapper |
9 |
|
10 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
11 |
|
12 |
eclass/multilib-build.eclass | 8 ++++++++ |
13 |
1 file changed, 8 insertions(+) |
14 |
|
15 |
diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass |
16 |
index 1065533ae5b..beb98ab2708 100644 |
17 |
--- a/eclass/multilib-build.eclass |
18 |
+++ b/eclass/multilib-build.eclass |
19 |
@@ -488,6 +488,14 @@ multilib_prepare_wrappers() { |
20 |
# elif(_MIPS_SIM == _ABIO32) /* o32 */ |
21 |
# error "abi_mips_o32 not supported by the package." |
22 |
# endif |
23 |
+#elif defined(__riscv) |
24 |
+# if defined(__riscv_float_abi_double) |
25 |
+# error "abi_riscv_lp64d not supported by the package." |
26 |
+# elif defined(__riscv_float_abi_single) |
27 |
+# error "abi_riscv_lp64f not supported by the package." |
28 |
+# else |
29 |
+# error "abi_riscv_lp64 not supported by the package." |
30 |
+# endif |
31 |
#elif defined(__sparc__) |
32 |
# if defined(__arch64__) |
33 |
# error "abi_sparc_64 not supported by the package." |