From eff08bb91e79829b0c5257b9aee380d06b784aaa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Tue, 7 May 2019 21:23:25 +0200 Subject: [PATCH] multilib-build.eclass: add riscv cases to header wrapper MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas K. Hüttel --- eclass/multilib-build.eclass | 8 ++++++++ 1 file changed, 8 insertions(+) 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." -- 2.26.2