From: Pierre Joye Date: Tue, 6 Jan 2009 20:51:37 +0000 (+0000) Subject: - MFB: add multi threaded build support (automatic detection of the number of cpus... X-Git-Tag: php-5.4.0alpha1~191^2~4622 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b0246fa38e355ac9d30ec36ee861e0c853c593d;p=php - 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) --- 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);