php7: disable valgrind support

The check to enable/disable this new feature of PHP 7.2 works
incorrectly when cross-compiling because it detects the host headers
only and there is no way to pass in a dedicated directory.

The wish to change this was reported upstream at:
https://bugs.php.net/bug.php?id=75722

For the meantime, use a self-cooked patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
Michael Heimpold
2017-12-22 22:00:20 +01:00
parent f51dca14cd
commit 97305e41b6
2 changed files with 43 additions and 0 deletions
+1
View File
@@ -469,6 +469,7 @@ CONFIGURE_VARS+= \
iconv_impl_name="gnu_libiconv" \
ac_cv_php_xml2_config_path="$(STAGING_DIR)/host/bin/xml2-config" \
ac_cv_u8t_decompose=yes \
ac_cv_enable_valgrind_check=no \
define Package/php7/conffiles
/etc/php.ini