summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2019-05-07 21:23:25 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2019-05-07 21:24:35 +0200
commiteff08bb91e79829b0c5257b9aee380d06b784aaa (patch)
treeb9ea98081b9675d95cfbe7ae8116987fce49c248
parentsys-fs/lvm2: better USE=-udev init support (diff)
downloadgentoo-eff08bb91e79829b0c5257b9aee380d06b784aaa.tar.gz
gentoo-eff08bb91e79829b0c5257b9aee380d06b784aaa.tar.bz2
gentoo-eff08bb91e79829b0c5257b9aee380d06b784aaa.zip
multilib-build.eclass: add riscv cases to header wrapper
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--eclass/multilib-build.eclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
index 1065533ae5ba..beb98ab27086 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."