From: Pierre Joye Date: Tue, 6 Jan 2009 20:50:57 +0000 (+0000) Subject: - add multi threaded build support (automatic detection of the number of cpus, add... X-Git-Tag: php-5.3.0beta1~263 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c83e0d50d0106b8c8e107ab0ecb1ca54fd46db95;p=php - 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 469cb6bb91..9963db8700 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);