mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-08 04:14:30 +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))))
|
ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
|
||||||
NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
|
NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
|
||||||
else
|
else
|
||||||
NJOBS := $(shell nproc)
|
NJOBS := -j $(shell nproc)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
VENDOR=$(shell lsb_release -is)
|
VENDOR=$(shell lsb_release -is)
|
||||||
|
Loading…
Reference in New Issue
Block a user