Skip to contentSkip to conversation

php: define PACKAGECONFIG[] for valgrind

PATCH New Joe Slater 1 participant 1 message Aug 28, 2018

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 php: define PACKAGECONFIG[] for valgrind

configure will look by default for valgrind.h in some host directories. We override this by setting --with-valgrind even if we do not want it.

The default value of PACKAGECONFIG does not enable valgrind support.

---
 meta-oe/recipes-devtools/php/php.inc | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/php/php.inc +1 -0
index 4231fcc..22a3f81 100644
@@ -92,6 +92,7 @@ PACKAGECONFIG[imap] = "--with-imap=${STAGING_DIR_HOST} \
 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
 PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache"
 PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
+PACKAGECONFIG[valgrind] = "--with-valgrind=${STAGING_DIR_TARGET}/usr,--with-valgrind=no,valgrind"
 
 export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}"
 export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php"
Signature · 1 line
2.7.4