From 96dda8b0589affb88a909aaf62e95bebc4c18ba2 Mon Sep 17 00:00:00 2001 From: Chun Kuan Lee Date: Thu, 19 Jul 2018 05:04:00 +0000 Subject: [depends] Add riscv qt depends support for cross compiling bitcoin-qt --- depends/patches/qt/fix_riscv64_arch.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 depends/patches/qt/fix_riscv64_arch.patch (limited to 'depends/patches') 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) -- cgit v1.2.3