[SCM] mplayer packaging branch, ubuntu, updated. debian/1.0.rc3++final-0ubuntu2-4-g2fd37d8
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Thu Jun 3 16:29:37 UTC 2010
The following commit has been merged in the ubuntu branch:
commit 2fd37d8a9a7f2a3c684b38896c16d2e02a9c58a1
Author: Reinhard Tartler <siretart at tauware.de>
Date: Thu Jun 3 18:29:20 2010 +0200
USE DEB_BUILD_OPTIONS for checking the number of parallel build jobs
diff --git a/debian/rules b/debian/rules
index b995cb8..42b03e8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,9 +8,9 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
else
# on i386 and amd64, we query the system unless overriden by DEB_BUILD_OPTIONS
-ifeq ($(DEB_HOST_ARCH),i386)
+ifeq ($(DEB_BUILD_ARCH),i386)
NUMJOBS := -j$(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
-else ifeq ($(DEB_HOST_ARCH),amd64)
+else ifeq ($(DEB_BUILD_ARCH),amd64)
NUMJOBS := -j$(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
endif
endif
--
mplayer packaging
More information about the pkg-multimedia-commits
mailing list