summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/pcre.pri1
-rw-r--r--src/3rdparty/pcre/config.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/3rdparty/pcre.pri b/src/3rdparty/pcre.pri
index 6ab9d4dc87..41ce218c9e 100644
--- a/src/3rdparty/pcre.pri
+++ b/src/3rdparty/pcre.pri
@@ -1,6 +1,7 @@
DEFINES += PCRE_HAVE_CONFIG_H
win32:DEFINES += PCRE_STATIC
+ios:DEFINES += PCRE_DISABLE_JIT
INCLUDEPATH += $$PWD/pcre
SOURCES += \
diff --git a/src/3rdparty/pcre/config.h b/src/3rdparty/pcre/config.h
index 6dda704f68..ed388fc9ba 100644
--- a/src/3rdparty/pcre/config.h
+++ b/src/3rdparty/pcre/config.h
@@ -20,7 +20,7 @@
- x86/x86-64
- MIPS 32bit (__GNUC__ compilers only)
*/
-#if \
+#if !defined(PCRE_DISABLE_JIT) && (\
/* ARM */ \
(defined(__GNUC__) && (defined(__arm__) || defined(__TARGET_ARCH_ARM))) \
/* x86 32/64 */ \
@@ -29,6 +29,6 @@
/* MIPS32 */ \
|| (defined(__GNUC__) \
&& (defined(__mips) || defined(__mips__)) \
- && !(defined(_MIPS_ARCH_MIPS64) || defined(__mips64)))
+ && !(defined(_MIPS_ARCH_MIPS64) || defined(__mips64))))
# define SUPPORT_JIT
#endif