diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index c6df7cf..193adc8 100755 --- a/debian/rules +++ b/debian/rules @@ -41,7 +41,9 @@ else CFLAGS += -O2 endif -include /usr/share/cdbs/1/class/langcore.mk +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +DEB_PARALLEL_JOBS ?= $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +endif ifneq (,$(DEB_PARALLEL_JOBS)) MAKEFLAGS += -j$(DEB_PARALLEL_JOBS) |