commit addd054
Samuel MarĂn Soto
·
2026-05-03 02:28:37 +0000 UTC
parent e0ce19f
pcre: build on riscv64 JIT is unsupported in riscv64, make it conditional on x86_64 and aarch64 in config.h.
1 files changed,
+4,
-0
+4,
-0
1@@ -64,8 +64,10 @@
2 /* #undef PTHREAD_CREATE_JOINABLE */
3 #define STDC_HEADERS 1
4 #ifdef __GNUC__
5+#if defined(__x86_64__) || defined(__aarch64__)
6 #define SUPPORT_JIT /**/
7 #endif
8+#endif
9 /* #undef SUPPORT_LIBBZ2 */
10 /* #undef SUPPORT_LIBEDIT */
11 /* #undef SUPPORT_LIBREADLINE */
12@@ -73,7 +75,9 @@
13 /* #undef SUPPORT_PCRE16 */
14 /* #undef SUPPORT_PCRE32 */
15 #define SUPPORT_PCRE8 /**/
16+#if defined(__x86_64__) || defined(__aarch64__)
17 #define SUPPORT_PCREGREP_JIT /**/
18+#endif
19 #define SUPPORT_UCP /**/
20 #define SUPPORT_UTF /**/
21 /* #undef SUPPORT_VALGRIND */