php: fix how PCRE JIT is disabled
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 6 Apr 2018 08:54:03 +0000 (10:54 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 6 Apr 2018 19:24:26 +0000 (21:24 +0200)
commit9850612ea5e9fc9c377d11ec9c2930bfd812754a
treef954311b54bf07b8fc87629752b032ac01fde63d
parent93dcfc0df795c4a9ca0d2a735c3e6632e75d2b66
php: fix how PCRE JIT is disabled

When the internal PCRE library of PHP is used, it tries to use a JIT
engine, which is only available on some architectures.

However, the mechanism used to disable JIT has changed in recent PHP
versions, and it now has a proper --without-pcre-jit option. Switch
over to that to properly disable JIT on unsupported platforms.

It has been tested to fix the build of PHP on ARC and Microblaze.

Fixes:

  http://autobuild.buildroot.net/results/e1359fcad7bc57e3c5a7ecc37abaa2cf6a6a9ffa/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/php/php.mk