From: Andreas K. Hüttel Date: Tue, 7 May 2019 19:23:25 +0000 (+0200) Subject: multilib-build.eclass: add riscv cases to header wrapper X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eff08bb91e79829b0c5257b9aee380d06b784aaa;p=gentoo.git multilib-build.eclass: add riscv cases to header wrapper Signed-off-by: Andreas K. Hüttel --- 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."