opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: ea70eff974ba9aebd7e5694bdda30819edc7663f
Parent: 70e6554f8c49b29fb18059993c535e429e132e44
Author: Samuel MarĂ­n Soto
Date:   Sat,  2 May 2026 20:28:37 -0600

pcre: build on riscv64

JIT is unsupported in riscv64, make it conditional on x86_64 and
aarch64 in config.h.

Diffstat:
Mpkg/pcre/config.h | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/pkg/pcre/config.h b/pkg/pcre/config.h @@ -64,8 +64,10 @@ /* #undef PTHREAD_CREATE_JOINABLE */ #define STDC_HEADERS 1 #ifdef __GNUC__ +#if defined(__x86_64__) || defined(__aarch64__) #define SUPPORT_JIT /**/ #endif +#endif /* #undef SUPPORT_LIBBZ2 */ /* #undef SUPPORT_LIBEDIT */ /* #undef SUPPORT_LIBREADLINE */ @@ -73,7 +75,9 @@ /* #undef SUPPORT_PCRE16 */ /* #undef SUPPORT_PCRE32 */ #define SUPPORT_PCRE8 /**/ +#if defined(__x86_64__) || defined(__aarch64__) #define SUPPORT_PCREGREP_JIT /**/ +#endif #define SUPPORT_UCP /**/ #define SUPPORT_UTF /**/ /* #undef SUPPORT_VALGRIND */