|
@@ -232,6 +232,11 @@ define PHP_DISABLE_PCRE_JIT
|
|
$(SED) '/^#define SUPPORT_JIT/d' $(@D)/ext/pcre/pcrelib/config.h
|
|
$(SED) '/^#define SUPPORT_JIT/d' $(@D)/ext/pcre/pcrelib/config.h
|
|
endef
|
|
endef
|
|
|
|
|
|
|
|
+define PHP_DISABLE_VALGRIND
|
|
|
|
+ $(SED) '/^#define HAVE_VALGRIND/d' $(@D)/main/php_config.h
|
|
|
|
+endef
|
|
|
|
+PHP_POST_CONFIGURE_HOOKS += PHP_DISABLE_VALGRIND
|
|
|
|
+
|
|
### Use external PCRE if it's available
|
|
### Use external PCRE if it's available
|
|
ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
PHP_CONF_OPTS += --with-pcre-regex=$(STAGING_DIR)/usr
|
|
PHP_CONF_OPTS += --with-pcre-regex=$(STAGING_DIR)/usr
|