Skip to content

Commit

Permalink
Pass PKG_MAKEFLAGS to dpkg-buildpackage
Browse files Browse the repository at this point in the history
  • Loading branch information
srh committed Oct 29, 2019
1 parent 55b163b commit 938d63f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mk/packaging.mk
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ OS_RELEASE := $(if $(DEB_RELEASE),$(DEB_RELEASE),$(if $(UBUNTU_RELEASE),$(UBUNTU
.PHONY: build-deb-src
build-deb-src: deb-src-dir
$P DEBUILD ""
cd $(DSC_PACKAGE_DIR) && yes | debuild -S -sa $(DEBUILD_SIGN_OPTIONS)
cd $(DSC_PACKAGE_DIR) && yes | MAKEFLAGS='$(PKG_MAKEFLAGS)' debuild -S -sa $(DEBUILD_SIGN_OPTIONS)

.PHONY: deb-src-dir
deb-src-dir: dist-dir
Expand Down Expand Up @@ -138,7 +138,7 @@ deb-src-dir: dist-dir
.PHONY: build-deb
build-deb: deb-src-dir
$P BUILD-DEB $(DSC_PACKAGE_DIR)
cd $(DSC_PACKAGE_DIR) && dpkg-buildpackage --jobs=auto -rfakeroot $(DEBUILD_SIGN_OPTIONS)
cd $(DSC_PACKAGE_DIR) && MAKEFLAGS='$(PKG_MAKEFLAGS)' dpkg-buildpackage --jobs=auto -rfakeroot $(DEBUILD_SIGN_OPTIONS)

.PHONY: install-osx
install-osx: install-binaries
Expand Down

0 comments on commit 938d63f

Please sign in to comment.