mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-15 12:29:35 +00:00
Remove NPROCS from Makefile, make is able to automatically detect the optimal number of parallel threads
This commit is contained in:
parent
490ff03fe1
commit
e5adccbf38
@ -4,17 +4,16 @@
|
||||
##
|
||||
|
||||
##
|
||||
## Detect number of processors
|
||||
## Detect host OS
|
||||
##
|
||||
|
||||
NPROCS := $(shell grep -c ^processor /proc/cpuinfo)
|
||||
OS := $(shell uname)
|
||||
|
||||
##
|
||||
## Makefile flags
|
||||
##
|
||||
|
||||
MAKEFLAGS += -l -j $(NPROCS) -rR --no-print-directory
|
||||
MAKEFLAGS += -l -j -rR --no-print-directory
|
||||
|
||||
ifneq ($(findstring clean,$(MAKECMDGOALS)),)
|
||||
MAKEFLAGS += -j 1
|
||||
|
Loading…
Reference in New Issue
Block a user