From 6ba6091ca0e17890e7e4aef3a1b77e03dd3af0e0 Mon Sep 17 00:00:00 2001 From: Faidon Liambotis Date: Fri, 7 Oct 2022 15:30:35 +0300 Subject: [PATCH] Fix NJOBS when DEB_BUILD_OPTIONS is not present NJOBS is supposed to have the -j argument (as in the DEB_BUILD_OPTIONS case) --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index a9909b98..d6399a25 100755 --- a/debian/rules +++ b/debian/rules @@ -31,7 +31,7 @@ DEBIAN_REVISION := $(shell dpkg-parsechangelog | sed -rne "s,^Version: 1:([0-9. ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) else - NJOBS := $(shell nproc) + NJOBS := -j $(shell nproc) endif VENDOR=$(shell lsb_release -is)