File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,10 @@ RC = <%rc%>
9999LIBFLAGS = <%libflags%>
100100CCFLAGS = $(CC_CFLAGS)<%if(type_is_binary)%> $(BINARY_FLAGS)<%endif%><%if(compile_flags)%> <%compile_flags%><%endif%>
101101
102+ !ifndef MPC_NUMBER_OF_PROCESSORS
103+ MPC_NUMBER_OF_PROCESSORS = $(NUMBER_OF_PROCESSORS)
104+ !endif
105+
102106.nosilent
103107
104108<%if(use_vcl)%>
Original file line number Diff line number Diff line change @@ -140,5 +140,5 @@ exeflags = -tR
140140object_search_path = 0
141141linker_dll_arguments = $(DLLFLAGS) $(UC_LFLAGS) $(LFLAGS:\=/) $(OBJFILES:\=/) -o $(OUTPUTDIR:\=/)$(NAME)$(DLL_EXT) -Xlinker --out-implib -Xlinker $(OUTPUTDIR:\=/)$(NAME).lib $(LIBFILES:\=/) $(RESOURCE:\=/)
142142linker_exe_arguments = $(EXEFLAGS) $(UC_LFLAGS) $(LFLAGS:\=/) $(OBJFILES:\=/) -o $(OUTPUTDIR:\=/)$(NAME)$(EXE_EXT) $(LIBFILES:\=/) $(RESOURCE:\=/)
143- parallel_flags = --jobs=0
143+ parallel_flags = --jobs=$(MPC_NUMBER_OF_PROCESSORS)
144144}
You can’t perform that action at this time.
0 commit comments