diff mbox series

[oe,meta-oe] php: Turn PCRE JIT off for riscv

Message ID 20190910074520.4022797-1-raj.khem@gmail.com
State Accepted
Commit c31468e37aec1ae4902228a07b11a70c0580d550
Headers show
Series [oe,meta-oe] php: Turn PCRE JIT off for riscv | expand

Commit Message

Khem Raj Sept. 10, 2019, 7:45 a.m. UTC
Its not yet supported

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-devtools/php/php.inc | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.23.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index d738d2d93f..23380da2cb 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -56,6 +56,9 @@  EXTRA_OECONF = "--enable-mbstring \
                 ${COMMON_EXTRA_OECONF} \
 "
 
+EXTRA_OECONF_append_riscv64 = " --with-pcre-jit=no"
+EXTRA_OECONF_append_riscv32 = " --with-pcre-jit=no"
+
 CACHED_CONFIGUREVARS += "ac_cv_func_dlopen=no ac_cv_lib_dl_dlopen=yes"
 
 EXTRA_OECONF_class-native = " \