Skip to content
Snippets Groups Projects
Commit c051bdae authored by Jingyun Hua's avatar Jingyun Hua Committed by Natanael Copa
Browse files

main/pcre: disable jit for loongarch64

and update config.sub
parent 07ad634e
1 merge request!61616main/*: fix build error on loongarch64
......@@ -26,6 +26,7 @@ source="https://downloads.sourceforge.net/project/pcre/pcre/$pkgver/pcre-$pkgver
prepare() {
default_prepare
update_config_sub
# update libtool so it won't use system libs when a sysroot is provided
libtoolize -f &&
......@@ -41,6 +42,7 @@ build() {
mips*) export CPPFLAGS="$CPPFLAGS -DSLJIT_IS_FPU_AVAILABLE=0 -DSLJIT_MIPS_R1=1";;
s390x) _enable_jit="";;
riscv*) _enable_jit="";;
loongarch64) _enable_jit="";;
esac
./configure \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment