From 7b0246fa38e355ac9d30ec36ee861e0c853c593d Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 6 Jan 2009 20:51:37 +0000 Subject: [PATCH] - 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) --- win32/build/config.w32 | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.50.1