aboutsummaryrefslogtreecommitdiff
path: root/depends/patches
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-07-19 05:04:00 +0000
committerChun Kuan Lee <ken2812221@gmail.com>2018-08-09 03:34:44 +0800
commit96dda8b0589affb88a909aaf62e95bebc4c18ba2 (patch)
tree46773f4beb21844be206e68071da46db2f212f9d /depends/patches
parent2ab72080ad7568b5f1c7d2611f9792c9f3811f65 (diff)
[depends] Add riscv qt depends support for cross compiling bitcoin-qt
Diffstat (limited to 'depends/patches')
-rw-r--r--depends/patches/qt/fix_riscv64_arch.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/depends/patches/qt/fix_riscv64_arch.patch b/depends/patches/qt/fix_riscv64_arch.patch
new file mode 100644
index 0000000000..e7f29f01f9
--- /dev/null
+++ b/depends/patches/qt/fix_riscv64_arch.patch
@@ -0,0 +1,14 @@
+diff --git a/qtbase/src/3rdparty/double-conversion/include/double-conversion/utils.h b/qtbase/src/3rdparty/double-conversion/include/double-conversion/utils.h
+index 20bfd36..93729fa 100644
+--- a/qtbase/src/3rdparty/double-conversion/include/double-conversion/utils.h
++++ b/qtbase/src/3rdparty/double-conversion/include/double-conversion/utils.h
+@@ -65,7 +65,8 @@
+ defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
+ defined(__SH4__) || defined(__alpha__) || \
+ defined(_MIPS_ARCH_MIPS32R2) || \
+- defined(__AARCH64EL__)
++ defined(__AARCH64EL__) || defined(__aarch64__) || \
++ defined(__riscv)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+ #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
+ #if defined(_WIN32)