summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-01-06 20:51:37 +0000
committerPierre Joye <pajoye@php.net>2009-01-06 20:51:37 +0000
commit7b0246fa38e355ac9d30ec36ee861e0c853c593d (patch)
tree0c028f46f02c150123a2134bb9a5239df228eb5c /win32
parente7eafa589d79584e5cd97031ec5274c34c96dff6 (diff)
downloadphp-git-7b0246fa38e355ac9d30ec36ee861e0c853c593d.tar.gz
- MFB: add multi threaded build support (automatic detection of the number of cpus, add a custom number if you prefer to use only a few of your available cores)
Diffstat (limited to 'win32')
-rw-r--r--win32/build/config.w324
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/build/config.w32 b/win32/build/config.w32
index 5ba1c2fbac..8d18aa5805 100644
--- a/win32/build/config.w32
+++ b/win32/build/config.w32
@@ -145,6 +145,10 @@ if (VCVERS >= 1400) {
}
}
+if (VCVERS >= 1500) {
+ ADD_FLAG('CFLAGS', ' /MP ');
+}
+
// General link flags
DEFINE("LDFLAGS", "/nologo /version:" +
PHP_VERSION + "." + PHP_MINOR_VERSION + "." + PHP_RELEASE_VERSION);