From c974e8f4c7bae82f974232d4a577a7627f7d7a09 Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Sun, 13 Sep 2020 02:33:40 +0300 Subject: multilib-build.eclass: Fix riscv abi conditionals in pseudo-header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas K. Hüttel --- eclass/multilib-build.eclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index dc4f8a2bd159..21ca275c3c77 100644 --- a/eclass/multilib-build.eclass +++ b/eclass/multilib-build.eclass @@ -494,15 +494,15 @@ multilib_prepare_wrappers() { # error "abi_mips_o32 not supported by the package." # endif #elif defined(__riscv) -# if (__WORDSIZE == 64) && defined(__riscv_float_abi_double) +# if (__riscv_xlen == 64) && defined(__riscv_float_abi_double) # error "abi_riscv_lp64d not supported by the package." -# elif (__WORDSIZE == 64) && defined(__riscv_float_abi_single) +# elif (__riscv_xlen == 64) && defined(__riscv_float_abi_single) # error "abi_riscv_lp64f not supported by the package." -# elif (__WORDSIZE == 64) +# elif (__riscv_xlen == 64) # error "abi_riscv_lp64 not supported by the package." -# elif (__WORDSIZE == 32) && defined(__riscv_float_abi_double) +# elif (__riscv_xlen == 32) && defined(__riscv_float_abi_double) # error "abi_riscv_ilp32d not supported by the package." -# elif (__WORDSIZE == 32) && defined(__riscv_float_abi_single) +# elif (__riscv_xlen == 32) && defined(__riscv_float_abi_single) # error "abi_riscv_ilp32f not supported by the package." # else # error "abi_riscv_ilp32 not supported by the package." -- cgit v1.2.3-65-gdbad