[SCM] x264/master: enable parallel builds
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Wed Jul 27 18:56:57 UTC 2011
The following commit has been merged in the master branch:
commit 07004bb0d27a888aff1d2b644ac3a068eda24a0b
Author: Reinhard Tartler <siretart at tauware.de>
Date: Wed Jul 27 20:30:32 2011 +0200
enable parallel builds
diff --git a/debian/confflags b/debian/confflags
index a29c2ed..de19e12 100644
--- a/debian/confflags
+++ b/debian/confflags
@@ -5,6 +5,11 @@
# Set CFLAGS from DEB_CFLAGS if defined, otherwise simply add -Wall
CFLAGS = $(or $(DEB_CFLAGS),-Wall)
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
+
common_confflags += --prefix=/usr
# XXX why isn't --enable-visualize used in the static build?
--
x264 packaging
More information about the pkg-multimedia-commits
mailing list