[Pkg-php-commits] [php/debian-sid] Allow parallel building via parallel=n
Raphael Geissert
geissert at debian.org
Sun Feb 7 23:17:14 UTC 2010
---
debian/rules | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/debian/rules b/debian/rules
index 6857bec..9cac131 100755
--- a/debian/rules
+++ b/debian/rules
@@ -81,6 +81,11 @@ ifneq (,$(filter $(DEB_HOST_ARCH),amd64 armel i386 ia64 kfreebsd-amd64 kfreebsd-
--with-pdo-firebird=shared,/usr
endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
+
# enable the hardening wrapper
DEB_BUILD_HARDENING = 1
# but disable PIE
--
1.6.3.3
More information about the Pkg-php-commits
mailing list