aboutsummaryrefslogtreecommitdiffstats
path: root/config.nmake
diff options
context:
space:
mode:
Diffstat (limited to 'config.nmake')
-rw-r--r--config.nmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.nmake b/config.nmake
index 56c8175a4c..772bfa720a 100644
--- a/config.nmake
+++ b/config.nmake
@@ -742,6 +742,22 @@ LOCAL_CFLAGS=/Zi /W3 /MD /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
!ERROR MSVC_VARIANT unknown
!ENDIF
+# http://msdn.microsoft.com/en-us/library/bb385193.aspx
+# /MP (Build with Multiple Processes)
+# /MP[processMax]
+# If you omit the processMax argument, the compiler retrieves the number of effective processors
+# on your computer from the operating system, and creates a process for each processor.
+#
+# The following compiler options and language features that are incompatible with the /MP option:
+# #import preprocessor directive
+# /E, /EP
+# /Gm
+# /showIncludes
+# /Yc
+
+!IF "$(MSVC_VARIANT)" == "MSVC2008"
+LOCAL_CFLAGS= $(LOCAL_CFLAGS) /MP
+!ENDIF
# Linker flags:
# /DEBUG generate debug info
# /PROFILE generate map file(s) for profiling