chiark / gitweb /
Patch from Frederic Bonnard to fix watch file (#785726)
[pcre3.git] / debian / patches / no_jit_ppc64el.patch
1 Description: Disable JIT on ppc64el, needs explicit porting to ELFv2.
2 Author: Adam Conrad <adconrad@ubuntu.com>
3
4 --- a/sljit/sljitConfigInternal.h
5 +++ b/sljit/sljitConfigInternal.h
6 @@ -109,7 +109,11 @@
7  #elif defined (__aarch64__)
8  #define SLJIT_CONFIG_ARM_64 1
9  #elif defined(__ppc64__) || defined(__powerpc64__) || defined(_ARCH_PPC64) || (defined(_POWER) && defined(__64BIT__))
10 -#define SLJIT_CONFIG_PPC_64 1
11 +# if _CALL_ELF != 2
12 +#  define SLJIT_CONFIG_PPC_64 1
13 +# else
14 +#  define SLJIT_CONFIG_UNSUPPORTED 1
15 +# endif
16  #elif defined(__ppc__) || defined(__powerpc__) || defined(_ARCH_PPC) || defined(_ARCH_PWR) || defined(_ARCH_PWR2) || defined(_POWER)
17  #define SLJIT_CONFIG_PPC_32 1
18  #elif defined(__mips__) && !defined(_LP64)