[dpkg] 168/187: debian: Set MAKEFLAGS to -jN from parallel=N in DEB_BUILD_OPTIONS

Reiner Herrmann reiner at reiner-h.de
Sun Nov 6 12:46:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

deki-guest pushed a commit to branch master
in repository dpkg.

commit 3787b186acab4fe9976679123aecd0c16e883293
Author: Guillem Jover <guillem at debian.org>
Date:   Sat Nov 5 05:06:06 2016 +0100

    debian: Set MAKEFLAGS to -jN from parallel=N in DEB_BUILD_OPTIONS
    
    Honor parallel build option.
---
 debian/changelog | 1 +
 debian/rules     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 76a1d98..9c00d50 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -132,6 +132,7 @@ dpkg (1.18.11) UNRELEASED; urgency=medium
     - Stop compressing the dpkg.deb package with gzip.
     - Move dpkg to be the first binary package stanza in debian/control, as
       debhelper assigns special meaning by considering it the main package.
+    - Set MAKEFLAGS to -jN from parallel=N in DEB_BUILD_OPTIONS.
   * Documentation:
     - Update custom changelog parser API support status in README.api.
     - Fix typos in docs and man pages. Thanks to Jakub Wilk <jwilk at debian.org>
diff --git a/debian/rules b/debian/rules
index a522afa..1418d52 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,7 @@ endif
 NUMJOBS = 1
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
   NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  MAKEFLAGS += -j$(NUMJOBS)
 endif
 
 D := $(CURDIR)/debian/tmp

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list