diff options
Diffstat (limited to 'meta-aarch64/recipes-qt/qt4/files/aarch64.patch')
-rw-r--r-- | meta-aarch64/recipes-qt/qt4/files/aarch64.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-aarch64/recipes-qt/qt4/files/aarch64.patch b/meta-aarch64/recipes-qt/qt4/files/aarch64.patch new file mode 100644 index 0000000..2c970fe --- /dev/null +++ b/meta-aarch64/recipes-qt/qt4/files/aarch64.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | From d780ac54b5dd1cf45eb59103f014f811c407d38c Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Sun, 10 Aug 2014 10:35:33 +0200 | ||
4 | Subject: [PATCH] JavaScriptCore: add Aarch64 support | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h | 8 +++++++- | ||
9 | 1 file changed, 7 insertions(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h b/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h | ||
12 | index e8b03be..01a839f 100644 | ||
13 | --- a/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h | ||
14 | +++ b/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h | ||
15 | @@ -373,6 +373,11 @@ | ||
16 | #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1 | ||
17 | #endif | ||
18 | |||
19 | +/* CPU(AARCH64) - Aarch64 */ | ||
20 | +#if defined(__aarch64__) | ||
21 | +#define WTF_CPU_AARCH64 1 | ||
22 | +#endif | ||
23 | + | ||
24 | /* ==== OS() - underlying operating system; only to be used for mandated low-level services like | ||
25 | virtual memory, not to choose a GUI toolkit ==== */ | ||
26 | |||
27 | @@ -1003,7 +1008,8 @@ | ||
28 | || CPU(SPARC64) \ | ||
29 | || CPU(S390X) \ | ||
30 | || CPU(PPC64) \ | ||
31 | - || CPU(MIPS64) | ||
32 | + || CPU(MIPS64) \ | ||
33 | + || CPU(AARCH64) | ||
34 | #define WTF_USE_JSVALUE64 1 | ||
35 | #else | ||
36 | #define WTF_USE_JSVALUE32_64 1 | ||
37 | -- | ||
38 | 1.9.0 | ||
39 | |||