summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-02-01 00:34:50 -0800
committerMichael Forney <mforney@mforney.org>2020-02-01 01:37:46 -0800
commitc678bb18e0ec6eacdd693dae3110924f327f23a2 (patch)
treeb3336608ecc0e4e765887ecb1caa92eace917569 /pkg
parent10bc5417a161be983f33a4cc6ffdf2a4c2800644 (diff)
pcre: Disable JIT on non-GNU compilers
Diffstat (limited to 'pkg')
-rw-r--r--pkg/pcre/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/pcre/config.h b/pkg/pcre/config.h
index 6b02d5b2..880460ed 100644
--- a/pkg/pcre/config.h
+++ b/pkg/pcre/config.h
@@ -63,7 +63,9 @@
#define POSIX_MALLOC_THRESHOLD 10
/* #undef PTHREAD_CREATE_JOINABLE */
#define STDC_HEADERS 1
+#ifdef __GNUC__
#define SUPPORT_JIT /**/
+#endif
/* #undef SUPPORT_LIBBZ2 */
/* #undef SUPPORT_LIBEDIT */
/* #undef SUPPORT_LIBREADLINE */