commit:     eff08bb91e79829b0c5257b9aee380d06b784aaa
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue May  7 19:23:25 2019 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue May  7 19:24:35 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eff08bb9

multilib-build.eclass: add riscv cases to header wrapper

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 eclass/multilib-build.eclass | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
index 1065533ae5b..beb98ab2708 100644
--- a/eclass/multilib-build.eclass
+++ b/eclass/multilib-build.eclass
@@ -488,6 +488,14 @@ multilib_prepare_wrappers() {
 #   elif(_MIPS_SIM == _ABIO32) /* o32 */
 #       error "abi_mips_o32 not supported by the package."
 #   endif
+#elif defined(__riscv)
+#      if defined(__riscv_float_abi_double)
+#       error "abi_riscv_lp64d not supported by the package."
+#      elif defined(__riscv_float_abi_single)
+#       error "abi_riscv_lp64f not supported by the package."
+#      else
+#       error "abi_riscv_lp64 not supported by the package."
+#      endif
 #elif defined(__sparc__)
 #      if defined(__arch64__)
 #       error "abi_sparc_64 not supported by the package."

Reply via email to