[SCM] VLC media player packaging branch, sid, updated. debian/0.9.9a-1-11-g2d411b7
xtophe-guest at users.alioth.debian.org
xtophe-guest at users.alioth.debian.org
Wed Apr 22 13:09:33 UTC 2009
The following commit has been merged in the sid branch:
commit 2d411b7d61229e16cba74881a361aa7c825e8414
Author: Christophe Mutricy <xtophe at videolan.org>
Date: Wed Apr 22 14:49:39 2009 +0200
Use all the procs on i386 and amd64
Leveraged from the ffmpeg-debian package
diff --git a/debian/rules b/debian/rules
index 9fa1caa..45c4eef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,12 @@ endif
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
+else
+# on i386 and amd64, we query the system unless overriden by DEB_BUILD_OPTIONS
+ifneq (,$(filter $(DEB_HOST_ARCH),i386 amd64))
+NUMJOBS := $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
+MAKEFLAGS += -j$(NUMJOBS)
+endif
endif
--
VLC media player packaging
More information about the pkg-multimedia-commits
mailing list