---
ChangeLog | 4 ++++
debian/rules | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index aa964f2..d996687 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2012-06-04 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * debian/rules: Limit simultaneous compilations.
+
+2012-06-04 Guillaume Lazzara <z(a)lrde.epita.fr>
+
* debian/rules: Remove empty directories in package.
2012-06-04 Guillaume Lazzara <z(a)lrde.epita.fr>
diff --git a/debian/rules b/debian/rules
index f7869d2..b5f41bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ export DH_OPTIONS
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-CPU_COUNT ?= $(shell grep -c processor /proc/cpuinfo)
+CPU_COUNT ?= $(shell echo "`grep -c processor /proc/cpuinfo` / 2" | bc)
CFLAGS = -Wall -g
--
1.7.2.5
Show replies by date