]>
Commit | Line | Data |
---|---|---|
c145aed6 JB |
1 | From: Daniel Schepler <dschepler@gmail.com> |
2 | Subject: Fix FTBFS in x32 | |
3 | Bug-Debian: https://bugs.debian.org/700795 | |
4 | Index: webkitgtk/Source/WTF/wtf/Platform.h | |
5 | =================================================================== | |
6 | --- webkitgtk.orig/Source/WTF/wtf/Platform.h | |
7 | +++ webkitgtk/Source/WTF/wtf/Platform.h | |
8 | @@ -179,8 +179,12 @@ | |
9 | /* CPU(X86_64) - AMD64 / Intel64 / x86_64 64-bit */ | |
10 | #if defined(__x86_64__) \ | |
11 | || defined(_M_X64) | |
12 | +#ifdef __ILP32__ | |
13 | +#define WTF_CPU_X86_64_32 1 | |
14 | +#else | |
15 | #define WTF_CPU_X86_64 1 | |
16 | #endif | |
17 | +#endif | |
18 | ||
19 | /* CPU(ARM64) - Apple */ | |
20 | #if defined(__arm64__) && defined(__APPLE__) | |
21 | @@ -826,7 +826,7 @@ | |
22 | #define ENABLE_REGEXP_TRACING 0 | |
23 | ||
24 | /* Yet Another Regex Runtime - turned on by default for JIT enabled ports. */ | |
25 | -#if !defined(ENABLE_YARR_JIT) && (ENABLE(JIT) || ENABLE(LLINT_C_LOOP)) | |
26 | +#if !defined(ENABLE_YARR_JIT) && ENABLE(JIT) | |
27 | #define ENABLE_YARR_JIT 1 | |
28 | ||
29 | /* Setting this flag compares JIT results with interpreter results. */ |