Distributions like Gentoo and Debian have policies which make it necessary to use some kind of environmental variable to control the parallel build.
Signed-off-by: Sven Eckelmann sven@narfation.org --- Makefile | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile index 3b9e853..61a81fb 100644 --- a/Makefile +++ b/Makefile @@ -53,10 +53,7 @@ REVISION= $(shell if [ -d .git ]; then \
REVISION_VERSION ="\ $(REVISION)"
-NUM_CPUS = $(shell nproc 2> /dev/null || echo 1) - -all: - $(MAKE) -j $(NUM_CPUS) $(BINARY_NAME) +all: $(BINARY_NAME)
$(BINARY_NAME): $(SRC_O) $(SRC_H) Makefile $(Q_LD)$(CC) -o $@ $(SRC_O) $(LDFLAGS)