summaryrefslogtreecommitdiff
path: root/sapi/cli/config.w32
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-15 16:33:40 +0200
committerAnatol Belski <ab@php.net>2014-10-15 16:33:40 +0200
commit8aeffdd74c826b5012c9b052848cfa8e593776ed (patch)
treef1ba84465211d50075c5e3a14e9d7eaf08bd95be /sapi/cli/config.w32
parent991a04b068c0b49ed5022d8da735002c5187031b (diff)
downloadphp-git-8aeffdd74c826b5012c9b052848cfa8e593776ed.tar.gz
moved most of the core to use static tsrm ls cache pointer
plus apache2handler, cli and cgi
Diffstat (limited to 'sapi/cli/config.w32')
-rw-r--r--sapi/cli/config.w324
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/cli/config.w32 b/sapi/cli/config.w32
index 438c9e6d62..664394c8a6 100644
--- a/sapi/cli/config.w32
+++ b/sapi/cli/config.w32
@@ -6,7 +6,7 @@ ARG_ENABLE('crt-debug', 'Enable CRT memory dumps for debugging sent to STDERR',
ARG_ENABLE('cli-win32', 'Build console-less CLI version of PHP', 'no');
if (PHP_CLI == "yes") {
- SAPI('cli', 'php_cli.c php_http_parser.c php_cli_server.c php_cli_process_title.c ps_title.c', 'php.exe');
+ SAPI('cli', 'php_cli.c php_http_parser.c php_cli_server.c php_cli_process_title.c ps_title.c', 'php.exe', '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
ADD_FLAG("LIBS_CLI", "ws2_32.lib");
if (PHP_CRT_DEBUG == "yes") {
ADD_FLAG("CFLAGS_CLI", "/D PHP_WIN32_DEBUG_HEAP");
@@ -15,7 +15,7 @@ if (PHP_CLI == "yes") {
}
if (PHP_CLI_WIN32 == "yes") {
- SAPI('cli_win32', 'cli_win32.c php_cli_process_title.c ps_title.c', 'php-win.exe');
+ SAPI('cli_win32', 'cli_win32.c php_cli_process_title.c ps_title.c', 'php-win.exe', '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
ADD_FLAG("LDFLAGS_CLI_WIN32", "/stack:67108864");
}