summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2020-09-13 02:33:40 +0300
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-09-13 02:34:52 +0300
commitc974e8f4c7bae82f974232d4a577a7627f7d7a09 (patch)
treef1377a69feac5bcf2e368f513140b600fdc4758a
parentdev-perl/Dist-Zilla-Plugin-Git: Bump to version 2.47.0 (diff)
downloadgentoo-c974e8f4c7bae82f974232d4a577a7627f7d7a09.tar.gz
gentoo-c974e8f4c7bae82f974232d4a577a7627f7d7a09.tar.bz2
gentoo-c974e8f4c7bae82f974232d4a577a7627f7d7a09.zip
multilib-build.eclass: Fix riscv abi conditionals in pseudo-header
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--eclass/multilib-build.eclass10
1 files 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."