mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-03 16:54:42 +00:00
Fix NJOBS when DEB_BUILD_OPTIONS is not present
NJOBS is supposed to have the -j argument (as in the DEB_BUILD_OPTIONS case)
This commit is contained in:
parent
25af6d2de8
commit
6ba6091ca0
2
debian/rules
vendored
2
debian/rules
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user