commit 0992af3: [Minor] Disable PCRE jit on OSX completely
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu May 30 15:35:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-05-30 16:29:23 +0100
URL: https://github.com/rspamd/rspamd/commit/0992af3130582c82bd4468dfbca62415a72fe743 (HEAD -> master)
[Minor] Disable PCRE jit on OSX completely
---
config.h.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/config.h.in b/config.h.in
index c4678b15e..0693cd55c 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1,6 +1,7 @@
#ifndef RSPAMD_CONFIG_H_IN
#define RSPAMD_CONFIG_H_IN
+
#cmakedefine BUILD_STATIC 1
#cmakedefine CURL_FOUND 1
#cmakedefine DEBUG_MODE 1
@@ -66,8 +67,13 @@
#cmakedefine HAVE_OPENSSL 1
#cmakedefine HAVE_O_DIRECT 1
#cmakedefine HAVE_PATH_MAX 1
+
+/* OSX has broken JIT support in PCRE, disable it */
+#ifndef __APPLE__
#cmakedefine HAVE_PCRE_JIT 1
#cmakedefine HAVE_PCRE_JIT_FAST 1
+#endif
+
#cmakedefine HAVE_PIDFILE 1
#cmakedefine HAVE_PIDFILE_FILENO 1
#cmakedefine HAVE_POLL_H 1
More information about the Commits
mailing list