From c83e0d50d0106b8c8e107ab0ecb1ca54fd46db95 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 6 Jan 2009 20:50:57 +0000 Subject: [PATCH] - 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 469cb6bb917..9963db8700c 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);