Skip to content

Commit

Permalink
php: define PACKAGECONFIG[] for valgrind
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
jwslater0823 authored and kraj committed Aug 29, 2018
1 parent 948a85f commit 840850e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meta-oe/recipes-devtools/php/php.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 840850e

Please sign in to comment.