On Thu, Jun 3, 2010 at 09:06,  <siret...@users.alioth.debian.org> wrote:
> +# Support multiple makes at once
> +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)
> +NUMJOBS := -j$(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
> +else ifeq ($(DEB_HOST_ARCH),amd64)
> +NUMJOBS := -j$(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
> +endif
> +endif
> +

For this particular case, I think what you actually want is
DEB_BUILD_ARCH. However, I'm not sure enabling parallel building by
default is a good idea. For example, buildds probably do more than one
build at a time.

-- 

Saludos,
Felipe Sateler

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to