Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id BE5C678E33 for ; Tue, 28 Aug 2018 21:39:41 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id w7SLdg9J028693 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 28 Aug 2018 14:39:43 -0700 (PDT) Received: from ala-lpggp5.wrs.com (147.11.105.121) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.408.0; Tue, 28 Aug 2018 14:39:42 -0700 From: Joe Slater To: Date: Tue, 28 Aug 2018 14:39:42 -0700 Message-ID: <20180828213942.183471-1-joe.slater@windriver.com> X-Mailer: git-send-email 2.13.0 MIME-Version: 1.0 Subject: [meta-oe][PATCH 1/1] php: define PACKAGECONFIG[] for valgrind X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2018 21:39:41 -0000 Content-Type: text/plain 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 Signed-off-by: Robert Yang --- meta-oe/recipes-devtools/php/php.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index 4231fcc..22a3f81 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc @@ -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" -- 2.7.4