From 68dd6cc92b81cc2253cdfcdc53823ad6527d2e05 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Wed, 20 May 2020 18:53:40 +0200 Subject: Control VCRT leak reporting via environment variable in debug builds Formerly, this had to be enabled by passing the configuration flag `--enable-crt-debug`; now it can be enabled by setting the environment variable `PHP_WIN32_DEBUG_HEAP`. The advantage is that it is no longer necessary to do separate builds, at the cost of a very minor performance penalty during process startup. --- win32/build/confutils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 9d2d578516..5d6ba3baac 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -437,7 +437,7 @@ can be built that way. \ } var snapshot_build_exclusions = new Array( - 'debug', 'crt-debug', 'lzf-better-compression', + 'debug', 'lzf-better-compression', 'php-build', 'snapshot-template', 'ereg', 'pcre-regex', 'fastcgi', 'force-cgi-redirect', 'path-info-check', 'zts', 'ipv6', 'memory-limit', -- cgit v1.2.1