aboutsummaryrefslogtreecommitdiff
path: root/package/qt5/qt5base/5.11.3/0005-double-conversion-enable-for-riscv.patch
blob: 0bdfd4918d64b6d7de0ccc623beb2935b7cd9c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 982801a21c3abad7025a7110275a49e200bc460f Mon Sep 17 00:00:00 2001
From: Stefan O'Rear <stefanor@cox.net>
Date: Thu, 17 Nov 2016 09:54:33 -0800
Subject: [PATCH] double-conversion: enable for riscv

Original double conversion patch [1] 'Add support for RISC-V' ported
to qtbase-5.11.3.

[1] Upstream: https://github.com/google/double-conversion/commit/8316ed5bf405835558a476e528d8e1d0adf69dd9

Change-Id: Id88a356940f4d61dbcec3741a74db695e47af3f0
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 src/3rdparty/double-conversion/include/double-conversion/utils.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/3rdparty/double-conversion/include/double-conversion/utils.h b/src/3rdparty/double-conversion/include/double-conversion/utils.h
index 485f680180..a736b14d1e 100644
--- a/src/3rdparty/double-conversion/include/double-conversion/utils.h
+++ b/src/3rdparty/double-conversion/include/double-conversion/utils.h
@@ -66,6 +66,7 @@
     defined(__SH4__) || defined(__alpha__) || \
     defined(_MIPS_ARCH_MIPS32R2) || \
     defined(__AARCH64EL__) || defined(__AARCH64EB__) || \
+    defined(__riscv) || \
     defined(__or1k__) || \
     defined(__microblaze__)
 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
-- 
2.20.1